Search found 21 matches
- 20 May 2022, 19:14
- Forum: Ask for Help (v1)
- Topic: If Visible Text in window - do this Topic is solved
- Replies: 4
- Views: 1374
Re: If Visible Text in window - do this Topic is solved
Same idea. winTitle = Alamy - User Bar #If WinExist(winTitle) && visibleText(winTitle, "alamypanel") o::MsgBox, 64, Found, alamy found #If visibleText(winTitle, find) { DetectHiddenText, Off WinGetText, text, %winTitle% Return Instr(text, find) } mikeyww thank You very much :D :thumbup: This one wo...
- 18 May 2022, 16:57
- Forum: Ask for Help (v1)
- Topic: If Visible Text in window - do this Topic is solved
- Replies: 4
- Views: 1374
Re: If Visible Text in window - do this Topic is solved
winTitle = Alamy - User Bar #If WinExist(winTitle) && visibleText(winTitle) o::MsgBox, 64, Found, alamy found #If visibleText(winTitle) { DetectHiddenText, Off WinGetText, text, %winTitle% Return StrLen(text) } Hello again Mikey mikeyww :) Thank You very much for response, another time You are help...
- 18 May 2022, 07:07
- Forum: Ask for Help (v1)
- Topic: If Visible Text in window - do this Topic is solved
- Replies: 4
- Views: 1374
If Visible Text in window - do this Topic is solved
Hello, Thank You in advance for any help and for this autohotkey community forum. I tried many ways, have read docs and forum threads, but cannot make it work. I want to make script, in which: - if there is visible text 'alamypanel' in window: ▶ then make ''o'' execute :: MsgBox, alamypanel found Th...
- 28 Dec 2020, 21:39
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
Good progress! Thank you for the feedback. I have not tried this, but if you succeed, I imagine that others will benefit and adopt the approach in various ways. Best of luck! Yeah mikeyww , thats the best part of autohotkey forum and I also think it can be helpful for others if the code emerges. I ...
- 28 Dec 2020, 21:13
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
I was really just thinking broadly-- as it is possible to write a script to compare pixels, match patterns, etc.-- but @malcev has provided specific links and even routines, so I think I would go with that! ImageSearch alone is probably not the answer-- not versatile in the right way-- but those li...
- 28 Dec 2020, 21:01
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
Is there a way to scan always whole screen and get rid of area selector? Read carefully that topic. Thank You, You were right malcev , I have missed it, it works great and this is the code that doesn't use area selector: #NoEnv SetBatchLines, -1 Return Esc:: ExitApp ^X:: hBitmap := HBitmapFromScree...
- 28 Dec 2020, 10:29
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
You need to add part from text recognition code to face recognition code. Thank You kindly malcev , Now i clearly see the point, thats very interesting and You helped me very much right now :wave: Before even trying to merge those functions, I have to remove area selector for screen scan from this ...
- 28 Dec 2020, 10:21
- Forum: Scripts and Functions (v1)
- Topic: Optical character recognition (OCR) with UWP API
- Replies: 161
- Views: 67954
Re: Optical character recognition (OCR) with UWP API
:headwall: :headwall: :roll: Hello everyone, I am trying to merge the first code below - 'Text Recognition From Screen' with the second code - 'Face Detection From File', to get the function of automatic face recognition on the screen and then point the mouse towards the face ( the one closest to th...
- 28 Dec 2020, 04:15
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
Here https://www.autohotkey.com/boards/viewtopic.php?t=72674 We get random access stream from screen. You have to understand code and change needed parts. Hello Malcev, Thank You kindly for response, I appreciate it :) I have checked and this code works very good for text recognition: #NoEnv SetBat...
- 27 Dec 2020, 19:23
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
https://www.autohotkey.com/boards/viewtopic.php?t=72797 https://www.autohotkey.com/boards/viewtopic.php?p=299604#p299604 If results will be no good then use or translate autoit or python For example this https autoit.de /thread/86499-facedetection-udf/ Broken Link for safety Hello @malcev , Thank Y...
- 27 Dec 2020, 19:20
- Forum: Ask for Help (v1)
- Topic: Face detect / recognition autohotkey
- Replies: 18
- Views: 2168
Re: Face detect / recognition autohotkey
I was really just thinking broadly-- as it is possible to write a script to compare pixels, match patterns, etc.-- but @malcev has provided specific links and even routines, so I think I would go with that! ImageSearch alone is probably not the answer-- not versatile in the right way-- but those li...
- 17 Nov 2020, 22:13
- Forum: Ask for Help (v1)
- Topic: Random repeat of keypress in specific range Topic is solved
- Replies: 4
- Views: 692
Re: Random repeat of keypress in specific range Topic is solved
- 17 Nov 2020, 13:41
- Forum: Ask for Help (v1)
- Topic: Random repeat of keypress in specific range Topic is solved
- Replies: 4
- Views: 692
Re: Random repeat of keypress in specific range Topic is solved
Great, I am truly grateful , simply put - this is it!w0z wrote: ↑17 Nov 2020, 06:29Code: Select all
^3:: Random, rnd, 1, 6 ToolTip, Sended Right %rnd% time(s) Send, {Right %rnd%} Return
Your response is very helpful , THANK YOU )))))))
Cheers
- 17 Nov 2020, 05:15
- Forum: Ask for Help (v1)
- Topic: Random repeat of keypress in specific range Topic is solved
- Replies: 4
- Views: 692
Random repeat of keypress in specific range Topic is solved
Hello everyone, I am working on script that needs random multiple keypress of the same button in the the specific range. Specifically, to send random multiple right arrow keypresses in the range of 6. So, one time it presses for ex. 2 times, another time maybe 5 times and so on. I want to fire that ...
- 16 Nov 2020, 03:04
- Forum: Ask for Help (v1)
- Topic: Press & Hold ControlClick Topic is solved
- Replies: 2
- Views: 2152
Re: Press & Hold ControlClick Topic is solved
w:: SoundBeep, 1500, 20 ControlClick, x10354 y568,,,,, D ; Hold the mouse button KeyWait, %A_ThisHotkey% ; Wait for the key to be released SoundBeep, 1000, 20 ControlClick,,,,,, U ; Release the mouse button Return Some programs might not respond to this. I strongly appreciate Your response and it w...
- 29 Oct 2020, 06:20
- Forum: Ask for Help (v1)
- Topic: Press & Hold ControlClick Topic is solved
- Replies: 2
- Views: 2152
Press & Hold ControlClick Topic is solved
Hello everyone
I would appreciate help with this:
w::ControlClick, x10354 y568
I want to hold that place with control click as long as I hold ''w" button on keyboard.
I know there is D command, but can't find a way to implement that.
Hope that somebody can help me.
Thank You
I would appreciate help with this:
w::ControlClick, x10354 y568
I want to hold that place with control click as long as I hold ''w" button on keyboard.
I know there is D command, but can't find a way to implement that.
Hope that somebody can help me.
Thank You
- 28 Oct 2020, 10:18
- Forum: Ask for Help (v1)
- Topic: Click on facebook LIKE button script Topic is solved
- Replies: 8
- Views: 655
Re: Click on facebook LIKE button script Topic is solved
No, don’t delete background and leave it transparent. You have to crop it so there are no transparent pixels. Perhaps some of the other pixels are semi-transparent and that’s why it’s not finding it. Don’t crop it to parts near the edge like the finger. Crop a piece of the middle like some of the v...
- 28 Oct 2020, 10:15
- Forum: Ask for Help (v1)
- Topic: Click on facebook LIKE button script Topic is solved
- Replies: 8
- Views: 655
Re: Click on facebook LIKE button script Topic is solved
like.png I have attached the image that I used. My image saving did nothing except crop. I agree with @boiler. In addition: never use a lossy format such as JPG for an image match . Use a lossless image format such as PNG (that is usually the best choice of lossless format). Why? Saving to JPG alte...
- 11 Oct 2020, 12:27
- Forum: Ask for Help (v1)
- Topic: Click on facebook LIKE button script Topic is solved
- Replies: 8
- Views: 655
Re: Click on facebook LIKE button script Topic is solved
Try cropping it to just a small rectangular portion of that image that doesn’t have any transparent pixels. Hello and thank You for reply :) Well, I have already tried using portion of image, for example only thumb part, or even only line of finger, but it doesn't work neither, to find a like butto...
- 11 Oct 2020, 12:14
- Forum: Ask for Help (v1)
- Topic: Click on facebook LIKE button script Topic is solved
- Replies: 8
- Views: 655
Re: Click on facebook LIKE button script Topic is solved
This worked for me using my own screenshot of the "like" hand (I tried a MouseMove). You don't need CoordMode for this purpose. !1:: ImageSearch, x, y, 0, 0, A_ScreenWidth, A_ScreenHeight, [pathToImage] If ErrorLevel { MsgBox, 64, Error, Image not found. Return } x += 10, y += 10 MouseMove, %x%, %y...