← Back to team overview

sikuli-driver team mailing list archive

[Bug 1462243] Re: MAC Shift Tab

 

wrong usage

** Changed in: sikuli
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/267799

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

Title:
  MAC Shift Tab

Status in Sikuli:
  Invalid

Bug description:
  IMAC Intel OS X Yosemite version 10.10.3
  Processor Name:	Intel Core 2 Duo
  Processor Speed:	3.06 GHz

  SikulixIDE 1.1.0
  Build 2015-05-25_01:00nightly

  
  Bug report

  type(Key.TAB + KeyModifier.SHIFT)
  Result
  error] TypeError ( cannot concatenate 'unicode' and 'int' objects )

  type(Key.TAB | KeyModifier.SHIFT)
  Result
  [error] TypeError ( unsupported operand type(s) for |: 'unicode' and 'int' )

  source
  http://doc.sikuli.org/keys.html

  The modifier constants can be combined to the modifier parameter by
  either using “+” or “|”, if more than one key modifier is needed.

  type(Key.ESC, KeyModifier.CTRL + KeyModifier.ALT)
  # or equivalent
  type(Key.ESC, KeyModifier.CTRL | KeyModifier.ALT)
  They should only be used in the modifiers parameter with functions like type(), rightClick(), etc.

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


References