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

RaiMan posted a new comment:
@masuo: he did not say, that he wants to do something else in parallel,
while he holds shift down.

So the answer to his question would be:
keyDown(Key.SHIFT)
wait(60)
KeyUp()

... and even if he wants to do something else after keyDown():
(module time is already imported in SikuliX)

end = time.time() + 60
keyDown(Key.SHIFT)

# do something else

while time.time() < end: wait(1)
keyUp()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to