StefMientki Posted October 3, 2007 Share Posted October 3, 2007 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 Link to comment Share on other sites More sharing options...
evilertoaster Posted October 3, 2007 Share Posted October 3, 2007 (edited) While the computer is locked, WinGetTitle("") returns an empty string. This usually doesn't happen any other time so you could do something likeWhile WinGetTitle("")="" Sleep(1000)Wend Edited October 3, 2007 by evilertoaster Link to comment Share on other sites More sharing options...
StefMientki Posted October 3, 2007 Author Share Posted October 3, 2007 thanks very much, that seems to work (at least on 1 computer). cheers, Stef Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now