Jump to content

Recommended Posts

Posted

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

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

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
×
×
  • Create New...