← Back to team overview

sikuli-driver team mailing list archive

[Bug 894312] Re: Windows: Selecting text using SHIFT + HOME does not work --- workaround

 

** Description changed:

- **** workaround 
+ **** workaround
  from https://launchpad.net/~ketankalia (comment #2)
  
  Apparently for the moment num lock has to be turned off for SHIFT+HOME
  to work.
  
  Use Sikuli's NumLock check feature
  (http://sikuli.org/docx/globals.html#Env.isLockOn) and
  type(Key.NUM_LOCK), to handle it programmatically.
  
+ problem with Env.isLockOn() !!
  -------------------------------------------------------------------------------------
  
  Version 1.0rc3 (r905)
  OS: Windows 7 64
  
  I'm trying to select text using SHIFT + direction key, e.g. UP, DOWN, HOME, END and so on (and then copy content to clipboards).
  The sikuli will just move the cursor to desired position, without selecting/highlighting the text.
  Example:
  
  #open a text editor
  type("foo")
  type(Key.HOME)
  type(Key.END, KeyModifier.SHIFT)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/894312

Title:
  Windows: Selecting text using SHIFT + HOME does not work ---
  workaround

Status in Sikuli:
  In Progress

Bug description:
  **** workaround
  from https://launchpad.net/~ketankalia (comment #2)

  Apparently for the moment num lock has to be turned off for SHIFT+HOME
  to work.

  Use Sikuli's NumLock check feature
  (http://sikuli.org/docx/globals.html#Env.isLockOn) and
  type(Key.NUM_LOCK), to handle it programmatically.

  problem with Env.isLockOn() !!
  -------------------------------------------------------------------------------------

  Version 1.0rc3 (r905)
  OS: Windows 7 64

  I'm trying to select text using SHIFT + direction key, e.g. UP, DOWN, HOME, END and so on (and then copy content to clipboards).
  The sikuli will just move the cursor to desired position, without selecting/highlighting the text.
  Example:

  #open a text editor
  type("foo")
  type(Key.HOME)
  type(Key.END, KeyModifier.SHIFT)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/894312/+subscriptions


References