Getting the classNN from Window Spy and passing it to ControlClick

Get help with using AutoHotkey and its commands and hotkeys
siyamsajeebkhan
Posts: 1
Joined: 11 Sep 2019, 04:59
Facebook: https://fb.com/Siyamkhan79

Getting the classNN from Window Spy and passing it to ControlClick

11 Sep 2019, 05:20

Hi, I was using WindowSpy to get the classNN of a button in an application to pass that classNN to ControlClick to click on a specific button. But it is not working.

classNN: Button2
Text: OK

But when I am trying

Code: Select all

WinGetActiveTitle, Title
ControlClick, Button2, %Title%
It's not working. What can be the reason?

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], blue83, flyingDman, Getfree, ineuw, JoeWinograd, TAC109 and 77 guests