Need help autoclicking button in program

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
vardan1245
Posts: 6
Joined: 01 Jul 2022, 05:33

Need help autoclicking button in program

Post by vardan1245 » 02 Jul 2022, 07:26

Hi!
I need to click a button that might change its position and can even disappear!)) (see picture)

Thank you
Attachments
Screenshot (27).png
Screenshot (27).png (35 KiB) Viewed 345 times
Last edited by vardan1245 on 03 Jul 2022, 12:05, edited 1 time in total.

User avatar
boiler
Posts: 17070
Joined: 21 Dec 2014, 02:44

Re: Need help autoclicking button in program

Post by boiler » 02 Jul 2022, 07:49

Use the Window Spy tool that comes with AHK and see if it shows a separate control for that button. By the looks of it, I would say it probably won’t. If not, then you can’t use ControlClick except to click by location, which you indicated will not be reliable.

If it doesn’t have an addressable control, then you might try using this Acc library. Otherwise, you can try locating the button using ImageSearch.

vardan1245
Posts: 6
Joined: 01 Jul 2022, 05:33

Re: Need help autoclicking button in program

Post by vardan1245 » 02 Jul 2022, 09:45

Thanks for answer, I'm new on this but I'll try)
Thank you

Post Reply

Return to “Ask for Help (v1)”