Hi RaiMan,

Thank you very much for the quick reply!
I love your SikuliX tool :)

Coming to the problem, I tested the same on Safari too. Yes, on Safari
it works.

But for that particular application it does not work.
The application responds when I press i + Ctrl + Shift manually.

Actually, now it looks something related to keyboard focus on Mac.
When I use switchApp() to switch focus to that app, the function fails with -1 
error.
I observed that SikuliX IDE also does not take keys (I cannot type) after it 
comes in front again after executing a script.
To start typing again in the IDE, I need to switch to some other app and then 
come back to the IDE.

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

Title:
  type("i", KeyModifier.CTRL + KeyModifier.SHIFT) does not work on Mac

Status in Sikuli:
  Opinion

Bug description:
  I have an application which handles "Control + Shift + i" keys combination.
  The application is NodeJS based and it is supported on Ubuntu, Windows and 
Mac.

  When I execute type("i", KeyModifier.SHIFT + KeyModifier.CTRL) on
  windows, it works well. But on Mac, it does not work.

  Before executing this line, I activate the window of my app by clicking it. 
  Also, I am able to use the keys manually in the aplication but not through 
sikulix script.

  My guess is that the issue is related to "Control" key handling on Mac.
  I verified that the type() function works with the SHIFT and Command key 
modifiers on Mac.

  
  SikuliX version: 1.1.1
  MacOS: OS X EI Caption 10.11.6 (MacBook Pro)

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

_______________________________________________
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