← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #634375]: Sikuli via Parallels and capitals / modifier Keys

 

Question #634375 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/634375

    Status: Open => Answered

RaiMan proposed the following answer:
@masuo:
I guess you are talking about the universal input method using the alt-key and the numpad:

the correct way is
Alt numpad-+ numpad-number numpad-number ... (up to 6 according to the unicode definition)

Hence one might try with type() this way:
KeyDown(Key.ALT) # must be down during the sequence
type(Key.ADD) # to switch to this input method (numpad plus)
type(Key.NUM0 + Key.NUM8 + Key.NUM4) # uppercase t
KeyUp() # release alt key

this might be packed into a def/function/method, that internally makes
the necessary translation and respective key presses.

This feature will be available in version 2 as a universal input method
(adapted for Mac and Linux with the native tools) and might then be
backported to version 1.1.2

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.