sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20814
Re: [Question #235431]: Select text by pressing SHIFT+END
Question #235431 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235431
Eugene S gave more information on the question:
UPDATE
Ok, I have found the below question with the workaround
https://answers.launchpad.net/sikuli/+question/143874
So it seems that this BUG will not be fixed since it's a java issue.
So the way I'm going to implement it is by detecting the current NUM_LOCK state and then act accordingly. For example:
val = Env.isLockOn(Key.NUM_LOCK)
if val == True:
print "switching off..."
type(Key.NUM_LOCK)
else:
print "already off, doing nothing"
and then:
type (Key.END, KeyModifier.SHIFT | KeyModifier.KEY_CTRL )
or:
type (Key.END, KeyModifier.SHIFT + KeyModifier.CTRL )
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.