Jump to content

winactive and locked computer

Recommended Posts

can winactive or winexists be use in a locked windows xp computer ?

is there any work around to do this, if you cant detect a windows or set focus ?


Welcome to the forum.

Test the scenario for yourself using code like this:

WinActivate("Program Manager")
WinWait("Untitled - Notepad")
If WinExists("Untitled - Notepad") Then Beep(500, 500)
If WinActive("Untitled - Notepad") Then Beep(1500, 1500)
Run that once as is to see what happens and then remove the comment character ";" from this line:


and run the script again.

I think that you will find that you can use WinWait and WinExists but not any of the Win... functions that has Activate or Activate in them.

Edited by herewasplato


Link to post
Share on other sites

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...