Sign in to follow this  
Followers 0
StefMientki

how to start programs after unlock windows ?

3 posts in this topic

hello,

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.

thanks,

Stef Mientki

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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("")=""

Sleep(1000)

Wend

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

cheers,

Stef

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  
Followers 0