ahk detect in game mouse options

Ask gaming related questions
gtoilet
Posts: 6
Joined: 25 May 2017, 23:53

ahk detect in game mouse options

26 May 2017, 00:00

so in game when you move the mouse over the bank
along the right side of the mouse it says < bank box >

is there any way for AHK to detect when the mouse has those options
Image
Last edited by gtoilet on 26 May 2017, 01:29, edited 1 time in total.
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: ahk detect in game mouse options

26 May 2017, 01:16

Depends. Can you show us a screenshot?
gtoilet
Posts: 6
Joined: 25 May 2017, 23:53

Re: ahk detect in game mouse options

26 May 2017, 01:30

did on OP
gtoilet
Posts: 6
Joined: 25 May 2017, 23:53

Re: ahk detect in game mouse options

27 May 2017, 12:17

so I guess then that it cant
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: ahk detect in game mouse options

28 May 2017, 00:41

Well, the window looks partially transparent, and I'm assuming this will appear in different parts of the screen, so the background will always be different. It's possible, but it won't be easy. Look into ImageSearch and PixelSearch. ImageSearch might work with a high variation, maybe 25 or so. If not, You can try multiple pixel searches, first look for the solid white, as in the word "bank", and then search for the "bank booth" blue a certain amount of pixels to the right.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 10 guests