Question #665698 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/665698
Description changed to:
**** solution
- check NUM_LOCK state with Key.isLockOn(Key.NUM_LOCK)
- if True (toggle is on) switch it off using type(Key.NUM_LOCK)
currently only works on Win10 (see related bug)
-----------------------------------
I want to select one line text in script by combined keys of HOME and SHIFT,
but it dosen't work.
My script is :
type(Key.END)
wait(1)
type(Key.HOME, Key.SHIFT)
wait(1)
type('C', Key.CTRL)
wait(1)
print Env.getClipboard()
But from UI, the line text can't be selected. Is there any problem in my
script? Thanks
--
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