Hi friends,
I'm attaching three scripts here.
Test.exe -> Calls CTRLDOWN.exe and CTRLUP.exe
#RequireAdmin
run("CTRLDOWN.exe")
sleep(500)
run("CTRLUP.exe")
CTRLDOWN.exe -> Sends a {CtrlDOWN} to press CTRL key
#RequireAdmin
Send('{CTRLDOWN}')
CTRLUP.exe -> Sends a {CtrlUP} to release CTRL key
#RequireAdmin
Send('{CTRLUP}')
Test.exe calls two exes to press and release the CTRL keys. Key press is working fine but the release does not work. If I call the CTRLDOWN.exe and CTRLUP.exe, manually one by another or the commands in a single program, it is working fine. Can any one explain what is wrong when I call them from a program?
Thank you so much for being helpful always :-)
CTRLDOWN.au3
CTRLUP.au3
test.au3