Postmessage to List

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

Postmessage to List

10 Nov 2019, 11:03

I have 4 windows open (same program)

Code: Select all

WinGet, winList, List, ahk_class Afx:0000000140000000:0:0000000000010003:0000000000000000:0000000000000000
Loop % winList
ControlSend,, {F4},% "ahk_id " winList%a_index%
This works on all four without issue

Code: Select all

WinGet, winList, List, ahk_class Afx:0000000140000000:0:0000000000010003:0000000000000000:0000000000000000
Loop % winList
PostMessage, 0x111, 22109,,,% "ahk_id" winList%a_index%
This works on only 2 windows. %List% gives the number 4 in both examples obviously. Can someone help as I have no idea how it cannot post a simple wm_command but it can Controlsend ?

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], lexscy, scriptor2016 and 199 guests