Jump to content

Recommended Posts

Posted

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?

  • Developers
Posted
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.
  :)

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...