[check] problem with held-down shift key on Windows should have a workaround

Bug #1388993 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

This question I post here to save the time to many others since I spent a lot of time to figure out the only combination that works. I have found solution.

Task: To Hold SHIFT while pressing PgDown twice to select some bulk text in application

Answer:

   if Env.isLockOn(Key.NUM_LOCK):
        nlZap=True
    else:
        nlZap=False
    if nlZap: type(Key.NUM_LOCK)
    keyDown(Key.SHIFT)
    type(Key.PAGE_DOWN, Key.SHIFT)
    type(Key.PAGE_DOWN, Key.SHIFT)
    keyUp(Key.SHIFT)
    if nlZap: type(Key.NUM_LOCK)

It has something to do with Numlock state and also at the same time the above combination must be used of KeyDown and key modifier. Many millions of other combinations, constants, etc.... did not work at all.

Best Regards,

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.0.1
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Medium
summary: - [request] problem with held-down shift key on Windows should have a
+ [check] problem with held-down shift key on Windows should have a
workaround
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.