Jump to content
Sign in to follow this  

how to start programs after unlock windows ?

Recommended Posts



As Outlook doesn't like the hibernate state,

I've made an autoit script that runs as a screensaver and closes Outlook before hibernating.

Now when the computer comes out of hibernate,

I want to start Outlook again, but ...

before this action can be performed,

I fisrt must unlock my PC with the standard login account.

How can I let the autoit script wait for a valid login ?

Or other suggestions are welcome too.


Stef Mientki

Share this post

Link to post
Share on other sites

While the computer is locked, WinGetTitle("") returns an empty string. This usually doesn't happen any other time so you could do something like

While WinGetTitle("")=""



Edited by evilertoaster

Share this post

Link to post
Share on other sites

thanks very much,

that seems to work (at least on 1 computer).



Share this post

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.