[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 on 2018-03-21
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
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) on 2018-03-21
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) on 2018-08-16
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) on 2018-08-16
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers