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

Bug #1268521 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Confirmed
Medium
RaiMan

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.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Confirmed
milestone: 2.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.