← Back to team overview

sikuli-driver team mailing list archive

[Bug 1445667] Re: [1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore --- specific Mac problem

 

tested some variants - this is the only that worked:

cmd = ['osascript', '/Users/raimundhocke/astest.txt']
print run(cmd)

the file /Users/raimundhocke/astest.txt contains the AppleScript command:
tell application "Mail" to activate

using the direct osascript -e script mode does not work and returns the error -10810 (not documented)
cmd = ['osascript', '-e', 'tell application "Mail" to activate']

BTW: does not work either for any not open (Apple) application (like Safari, Calculator, ...)
... but Google Chrome opens


** Changed in: sikuli
       Status: New => Confirmed

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

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

Title:
  [1.1.0] OS X 10.10.3: App.open("Mail") doesn't work anymore ---
  specific Mac problem

Status in Sikuli:
  Confirmed

Bug description:
  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("/Applications/Mail.app")

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


References