[1.1.x] Windows 7: Env.isLockOn(Key.NUM_LOCK) does not work - fixed in 1.1.4 2018-08-16

Bug #1757365 reported by RaiMan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

---- problem solved:

Env.isLockOn(Key.NUM_LOCK) did not work on Windows 7

---- solution for successfully use HOME-SHIFT + direction keys for selection

add before trying to select something:

if Env.isLockOn(Key.NUM_LOCK): type(Key.NUM_LOCK)

------------------------------------

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

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.3
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.3 → 1.1.4
status: In Progress → Fix Committed
importance: High → Critical
summary: - [1.1.x] Windows 7: Env.isLockOn(Key.NUM_LOCK) does not work
+ [1.1.x] Windows 7: Env.isLockOn(Key.NUM_LOCK) does not work - fixed in
+ 1.1.4 2018-08-16
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
milestone: 1.1.4 → 2.0.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Released → Fix Committed
milestone: 2.0.0 → 1.1.4
status: Fix Committed → Fix Released
milestone: 1.1.4 → 2.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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