View Single Post
Or, I suppose, you could try using "System Events" to read the Bundle identifier key in the info.plist file inside the package.

(Looking first in /Applications/ and then perhaps falling back to ~/Applications/ if it wasn't found ...)

(But this kind of thing is, of course, hard to test because it is in the nature of the bifurcated bundle identifier problem that any given user only has one version installed, and can't test code for the other ... )

(I have asked the Ninjas whether there is a better solution to automatically detecting whether a user's data is in a com.omnigroup.OmniFocus cache or a com.omnigroup.OmniFocus.MacAppStore cache ...)



Last edited by RobTrew; 2011-07-04 at 05:25 AM.. Reason: Update: See FAQ