TylerK Posted March 31, 2017 Share Posted March 31, 2017 I'm using this script too try and send Control + E to an active window. WinActivate ("Process Monitor - Sysinternals: www.sysinternals.com",""); Send("{^E}"); When I run the batch file, the correct window does become active, but the control + e command is not sent. I'm not getting any errors in Autoit. What am I missing or doing wrong? Link to comment Share on other sites More sharing options...
Floops Posted March 31, 2017 Share Posted March 31, 2017 21 minutes ago, TylerK said: Send("{^E}"); Try Send("^E") Link to comment Share on other sites More sharing options...
Developers Jos Posted March 31, 2017 Developers Share Posted March 31, 2017 1 hour ago, TylerK said: When I run the batch file, the correct window does become active, TRy adding a short sleep between the WinActivate and Send as it could be you're sending the key before that window is actually active. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Alpacas Posted March 31, 2017 Share Posted March 31, 2017 Try running the script with Administrator Privs. ProcMon needs to run with admin privs, and the script needs to match. Ran into the same issue this morning. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now