Detect keys and keypress in order

Ask gaming related questions (AHK v1.1 and older)
Havasiz
Posts: 3
Joined: 02 Jul 2020, 17:34

Detect keys and keypress in order

Post by Havasiz » 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
capture6.png (7.23 KiB) Viewed 554 times
capture5.png
capture5.png (6.08 KiB) Viewed 554 times
capture4.png
capture4.png (4.36 KiB) Viewed 554 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"]

User avatar
mikeyww
Posts: 26601
Joined: 09 Sep 2014, 18:38

Re: Detect keys and keypress in order

Post by mikeyww » 23 Nov 2022, 13:22

Hi,

I would search for the FindText OCR script.

kentpachi
Posts: 152
Joined: 15 May 2016, 01:23

Re: Detect keys and keypress in order

Post by kentpachi » 28 Nov 2022, 03:36

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.

KtosTam
Posts: 2
Joined: 28 Nov 2022, 11:01

Re: Detect keys and keypress in order

Post by KtosTam » 28 Nov 2022, 11:14

@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.

Post Reply

Return to “Gaming Help (v1)”