← Back to team overview

sikuli-driver team mailing list archive

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

 

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

I am sure this behavior by using the following code.
When I click the OK button at the pop-up window, status does not change.
When I type Enter-key at the pop-up window, status will change.
(I tested on Windows7, Java 1.8.0, SikuliX1.1.0 .)

while True:
    msg = "status:%s" % Env.isLockOn(Key.NUM_LOCK)
    popup(msg)
    type(Key.NUM_LOCK)

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