← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #159582]: Sikuli to unlock the computer

 

Question #159582 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/159582

RaiMan proposed the following answer:
@ perry
I think with comment #2 I understood, what he wants to do.

--- WIN-L is the standard key short cut to lock the machine, then the
login screen comes up

--- if you have a Sikuli script running, when the screen gets locked,
the script goes on running. But it will fail in the moment, you issue a
find operation, since the screen does not contain the image, you are
searching.

--- It is not possible, to operate on the login screen from the script
running behind the curtain. click() and type() work, but do not have any
effect. trying to capture a region with capture() seems to abort the
IDE.

--- So one has to find another technique to get the machine to unlock,
that can be triggered from a Sikuli script, that is aware of the fact,
that the screen has got locked.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.