You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not work when sending arrow keys (LEFT/RIGHT/DOWN/UP) and Key.SHIFT when Num_Lock is ON which is expected to select a line, e.g, type(Key.RIGHT, Key.SHIFT), it just moves the cursor but does not select anything.
Sikuli seems has the same problem, but user can get the Num_Lock state via Key.isLockOn(Key.NUM_LOCK) and workaround, https://answers.launchpad.net/sikuli/+question/143874
Unfortunately, this API does not work in Lackey.
The text was updated successfully, but these errors were encountered:
In SikuliX I use this hack by accessing the Windows API directly to get the real state of the respective lock key:
/*
Windows lib user32 https://msdn.microsoft.com/pt-br/library/windows/desktop/dd375731
VK_NUM_LOCK 0x90
VK_SCROLL 0x91
VK_CAPITAL 0x14
int state = GetKeyState(LockKey);
*/
Hope it helps.
RaiMan from SikuliX
Windows 7, Lackey 0.7.3
It does not work when sending arrow keys (LEFT/RIGHT/DOWN/UP) and Key.SHIFT when Num_Lock is ON which is expected to select a line, e.g, type(Key.RIGHT, Key.SHIFT), it just moves the cursor but does not select anything.
Sikuli seems has the same problem, but user can get the Num_Lock state via Key.isLockOn(Key.NUM_LOCK) and workaround, https://answers.launchpad.net/sikuli/+question/143874
Unfortunately, this API does not work in Lackey.
The text was updated successfully, but these errors were encountered: