By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!How can I check in a script whether the screen is locked?
Does it make a difference if you use?iff %_WINFGWINDOW != "" then
iff "%_WINFGWINDOW" != "" then
Does it make a difference if you use?
Code:iff "%_WINFGWINDOW" != "" then
According to the MS Scripting Guy, there's
no definitive way. The example they used was to see if the screen
saver was running.
And check to see if it is running:
iff %@PID[%@filename[%@regquery["hkcu\control
panel\desktop\SCRNSAVE.EXE"]]] == 0 then