Does anyone know how to properly use the 'ControlSend' feature of AutoItv3?
I was trying to send hotkeys into the client while it is hidden (@SW_HIDE flag), but apparently nothing happens. :confused: Is it because i don't have a class ID?
code:
WinSetState("Mabinogi","",@SW_HIDE)
sleep(800)
ControlSend("Mabinogi","" ,"" ,"{F2}")
I was thinking how much potential ControlSend has since it can send the key while the program is minimized or hidden so it doesn't disrupt normal activity... but hmm. anyone's two cents is welcomed :D
Xraveinfinity
I was trying to send hotkeys into the client while it is hidden (@SW_HIDE flag), but apparently nothing happens. :confused: Is it because i don't have a class ID?
code:
WinSetState("Mabinogi","",@SW_HIDE)
sleep(800)
ControlSend("Mabinogi","" ,"" ,"{F2}")
I was thinking how much potential ControlSend has since it can send the key while the program is minimized or hidden so it doesn't disrupt normal activity... but hmm. anyone's two cents is welcomed :D
Xraveinfinity