[1.1.0] OS X 10.10.3 with Java 7+: App.open("Mail") doesn't work anymore --- also for some other Mac apps --- fixed 2015-04-25+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
---- fixed 2015-04-25+ (using osascript tell app to activate)
----------- workaround
... for situations, where SikuliX App features crash, do not work as expected or are not available at all:
run AppleScript snippets inline, that do the job:
runScript(
... would internally run the given snippet using osascript.
An example for this specific Mail situation: comment #3
... and using Java 7 seems to help
-------
For some reason I can no longer launch applications using App.open anymore with the latest night build.
It executes the code but the application does not actually launch.
ie,
App.open(
description: | updated |
summary: |
- App.open doesn't work anymore on OS X 10.10.3 with Sikuli X 1.1.0 - Nightly + [1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore --- specific + Mac problem |
description: | updated |
summary: |
[1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore --- specific - Mac problem --- workaround + Mac problem --- workaround (available 2015-04-20+) |
summary: |
[1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore --- specific - Mac problem --- workaround (available 2015-04-20+) + Mac 10.10 problem --- workaround (available 2015-04-20+) |
summary: |
- [1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore --- specific - Mac 10.10 problem --- workaround (available 2015-04-20+) + [1.1.0] OS X 10.10.3 with Java 8: App.open("Mail") doesn't work anymore + --- specific Mac 10.10 problem --- workaround (available 2015-04-20+) |
description: | updated |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
importance: | High → Critical |
summary: |
[1.1.0] OS X 10.10.3 with Java 8: App.open("Mail") doesn't work anymore - --- specific Mac 10.10 problem --- workaround (available 2015-04-20+) + --- specific Mac 10.10 problem --- fixed 2015-04-24+ (using osascript + tell app to activate) |
description: | updated |
summary: |
[1.1.0] OS X 10.10.3 with Java 8: App.open("Mail") doesn't work anymore - --- specific Mac 10.10 problem --- fixed 2015-04-24+ (using osascript - tell app to activate) + --- specific Mac 10.10 problem --- fixed 2015-04-24+ |
summary: |
[1.1.0] OS X 10.10.3 with Java 8: App.open("Mail") doesn't work anymore - --- specific Mac 10.10 problem --- fixed 2015-04-24+ + --- also for some other Mac apps --- fixed 2015-04-24+ |
summary: |
- [1.1.0] OS X 10.10.3 with Java 8: App.open("Mail") doesn't work anymore - --- also for some other Mac apps --- fixed 2015-04-24+ + [1.1.0] OS X 10.10.3 with Java 7+: App.open("Mail") doesn't work anymore + --- also for some other Mac apps --- fixed 2015-04-25+ |
description: | updated |
seems to be a specific problem with 10.10.3 and Mail.app, since App.open() generally works.
I tried other ways, to start Mail from SikuliX or from terminal: all not working.
the only, that worked in the Terminal was:
osascript -e "tell application \"Mail\" to activate"
(cannot be issued currently with the run() feature - working on that)
once Mail is running, App.close() and App.focus() still work.