New question #267799 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267799

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.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to