Page 1 of 1

Detect keys and keypress in order

Posted: 23 Nov 2022, 10:02
by Havasiz
Hello, so in this game while fishing there's an image that appears and you need to click the keys in order. I tried creating a script in Python but I sadly failed :-| .
capture6.png
capture6.png (7.23 KiB) Viewed 592 times
capture5.png
capture5.png (6.08 KiB) Viewed 592 times
capture4.png
capture4.png (4.36 KiB) Viewed 592 times
Is it possible in ahk to detect the text and press from left to right? If it's not possible in ahk can anyone recommend me a program?


[Mod action: Topic moved to "Gaming"]

Re: Detect keys and keypress in order

Posted: 23 Nov 2022, 13:22
by mikeyww
Hi,

I would search for the FindText OCR script.

Re: Detect keys and keypress in order

Posted: 28 Nov 2022, 03:36
by kentpachi
Havasiz wrote:
23 Nov 2022, 10:02
Hello, so in this game while fishing there's an image that appears and you need to click the keys in order. I tried creating a script in Python but I sadly failed :-| . capture6.png capture5.png capture4.png Is it possible in ahk to detect the text and press from left to right? If it's not possible in ahk can anyone recommend me a program?


[Mod action: Topic moved to "Gaming"]
i have this kind of experience too, its very easy.
if thats the exact text, try imagesearch and if found press key, script will be long but it will be worth it.

Re: Detect keys and keypress in order

Posted: 28 Nov 2022, 11:14
by KtosTam
@kentpachi
are you able to help me? I already have a script with FindText but now I don't know how to make the script itself click the left mouse button, display letters and left mouse button again.