← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #285483]: isLockOn does not change until typing from the keyboard

 

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

Alex Lunyov posted a new comment:
Hi!

There is a similar problem.

In SikuliX 1.1.1 2016-6-6 this code:

for i in range(5):
    type(Key.NUM_LOCK)
    wait(20)                        # long wait for expected certainly internal system changes
    print(Env.isLockOn(Key.NUM_LOCK))

prints five "True" while the Numlock led toggles with delay 20 sec. By
the way internal Numlock is actually switches, only the result of
Env.isLockOn() is always the same.

I expected it will print a sequence True/False.

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