MAC Shift Tab
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-
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://
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.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #1462243.
Can you help with this problem?
Provide an answer of your own, or ask Jeff_Vallis for more information if necessary.