GNGNUT Posted June 15, 2012 Posted June 15, 2012 Hi Guys need a little help, I currently use the below Script when the screen is unlocked and this doesnt work when i lock the screen is there a way i can chnage / swap for this to work while the screen is locked ?? Func _WinWaitActivate($vWintitle, $vWinText, $timeout) WinWait($vWintitle, $vWinText, $timeout) If Not WinActive($vWintitle, $vWinText) Then WinActivate($vWintitle, $vWinText) WinWaitActive($vWintitle, $vWinText, $timeout) EndFunc ;==>_WinWaitActivate
Decipher Posted June 15, 2012 Posted June 15, 2012 (edited) Hi Guys need a little help, I currently use the below Script when the screen is unlocked and this doesnt work when i lock the screen is there a way i can chnage / swap for this to work while the screen is locked ?? Func _WinWaitActivate($vWintitle, $vWinText, $timeout) WinWait($vWintitle, $vWinText, $timeout) If Not WinActive($vWintitle, $vWinText) Then WinActivate($vWintitle, $vWinText) WinWaitActive($vWintitle, $vWinText, $timeout) EndFunc ;==>_WinWaitActivate Hi, I don't know of a way right off. I'll search for you. If your going to run this script in the background then why not disable the built in screensaver, password prompt in windows and create your own. I know that may seem a little difficult but It sounds interesting and I'd help you along. I have some useful code snippets that apply to such an application. What OS version are you using? Edited June 15, 2012 by Decipher Spoiler
GNGNUT Posted June 15, 2012 Author Posted June 15, 2012 Im Using Autoit at work and they have Group policys on the computers here and I cant access any of them details its preety much locked down, Os win xp sp3
Zedna Posted June 15, 2012 Posted June 15, 2012 http://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F Resources UDF ResourcesEx UDF AutoIt Forum Search
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