Controlsend and Controlclick/Sendmessage confirmation

Get help with using AutoHotkey and its commands and hotkeys
blad4
Posts: 185
Joined: 07 Oct 2015, 11:06

Controlsend and Controlclick/Sendmessage confirmation

08 Nov 2019, 19:27

Code: Select all

WinGet, winList, List, ahk_class Afx:0000000140000000:0:0000000000010003:0000000000000000:0000000000000000
Loop % winList
ControlSend,, ^g,% "ahk_id " winList%a_index%
WinGet, winList, List, ahk_class #32770
Loop % winList
ControlSend,, 30,% "ahk_id " winList%a_index%
WinGet, winList, List, ahk_class #32770
Loop % winList
;The enter being my current workaround
ControlSend,, {Enter},% "ahk_id " winList%a_index
;
This {Enter} is my proxy use of how to click the 'Yes' button in the child window which comes up (ahk_class #32770) and ClassNN is Button1

I have tried variations of ControlClick but seem to be misunderstanding the logic of why it does not work here?

Also struggling to implement Postmessage to the Button1, assuming even more reliable?

Return to “Ask For Help”

Who is online

Users browsing this forum: dave444344, dead_line, spencer and 209 guests