sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33074
[Bug 1466231] Re: [1.1.0] OS X 10.10: KeyModifier being sent to Sikuli, not to app
Just tried with 2015-06-20.
1. I've been running SikuliX.app from /Applications this entire time. :)
2. Running the script from the command line, I once again get the confirmation that my app has focus (this is using the keyboard shortcut "R"), but no reaction from the app on using Cmd-O
my-prompt# /Applications/runsikulix -r file-open.sikuli/
running SikuliX: /Applications/SikuliX.app/Contents/Java/sikulix.jar -r file-open.sikuli/
[log] App.focus: [-1:MyApp]
[log] TYPE "r"
[log] ( ⌘ ) TYPE "o"
Again, this doesn't seem to be affecting all apps. I did use the binary
version of both debug and release versions of my app, and it doesn't
seem to matter. (I'll be out until Tuesday, so won't respond until the
morning PDT/-7 GMT.)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1466231
Title:
[1.1.0] OS X 10.10: KeyModifier being sent to Sikuli, not to app
Status in Sikuli:
New
Bug description:
Not yet attempted in Sikuli 1.0.1.
OS: Mac OSX Yosemite (10.10.3)
METHOD:
Script is as follows:
App.focus("NameOfApp");
type("r"); # just to confirm that the app has focus
type("o", KeyModifier.KEY_CMD); # Cmd-O to open a file
RESULT:
After the second line, the app reacts to the letter R correctly, proving that the app has focus. However, the Cmd-O opens Sikuli's File Open dialog, not my product's.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1466231/+subscriptions
References