Basic send example :
msgbox (1,"Ready ?","Send 1 every 3.5 ")
While 1
ControlSend("[CLASS:GxWindowClass]", "" , "" , "1")
Sleep(3500 )
WEnd
This works but when you open 2 windows it only clicks on the last one that was active.
So I tried getting the handle and using the handle in the title.
Opt("WinTitleMatchMode", 3)
opt("WinSearchChildren",1)
$handle = ControlGetHandle("[CLASS:GxWindowClass]", "", "")
MsgBox(1,"Ready?","")
ControlSend($handle, "" , "" , "1")
It still only sends on the last window that was active ...
The point of this is to simply send text to a window that is currently not active
Help plz ?
msgbox (1,"Ready ?","Send 1 every 3.5 ")
While 1
ControlSend("[CLASS:GxWindowClass]", "" , "" , "1")
Sleep(3500 )
WEnd
This works but when you open 2 windows it only clicks on the last one that was active.
So I tried getting the handle and using the handle in the title.
Opt("WinTitleMatchMode", 3)
opt("WinSearchChildren",1)
$handle = ControlGetHandle("[CLASS:GxWindowClass]", "", "")
MsgBox(1,"Ready?","")
ControlSend($handle, "" , "" , "1")
It still only sends on the last window that was active ...
The point of this is to simply send text to a window that is currently not active
Help plz ?