sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32772
[Bug 1462243] [NEW] MAC Shift Tab
Public bug reported:
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.
** Affects: sikuli
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References