Comment 0 for bug 1545428

Revision history for this message
RaiMan (raimund-hocke) wrote : [1.1.0] isLockOn does not change until typing from the keyboard

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)