[check] problem with held-down shift key on Windows should have a workaround
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(
nlZap=True
else:
nlZap=False
if nlZap: type(Key.NUM_LOCK)
keyDown(
type(
type(
keyUp(
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,
Changed in sikuli: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.2.0 |
Changed in sikuli: | |
milestone: | 2.0.0 → 2.0.1 |
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 |