← Back to team overview

sikuli-driver team mailing list archive

[Bug 1268521] Re: [1.0.1] Mac 10.9: switchApp does not work in all cases

 

** Changed in: sikuli
       Status: In Progress => Confirmed

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

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

Title:
  [1.0.1] Mac 10.9: switchApp does not work in all cases

Status in Sikuli:
  Confirmed

Bug description:
  *** TODO ***

  This Objectice-C function is used internally in the end:

  [[NSWorkspace sharedWorkspace] launchApplication:appName]

  Since there is some buzz in the net according problems in 10.9 coming
  from prior versions about the usage of this function, I guess we have
  to rework this feature. So I take this as a bug.

  But the revision of the native features behind the App class is only on the list later this year.
  So currently you have to live with the oddities.

  Since I am developing Sikuli mainly on Maverick: Until now, I did not
  have switchApp problems with apps being in /Applications.

  For unsigned apps though, the gatekeeper must be switched off (prefs
  -> security&privacy -> general -> Allow .... from anywhere)

  --------------------

  On mac10.8, switchApp("myApplicationName") works well,
  but on mac10.7, switchApp("myAppliationName") doesn't work, but if I call switchApp("/full/path/to/myApplicationName") works well.

  So, My question is what rules are for switchApp()?
  Why "myApplicationName" doesn't work, but "/full/path/to/myApplicationName" does work?

  Thanks.

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


References