Wondering if anyone can help me out because extension web research hasn’t turned up anything.
I’m trying to script the process of launch an app with the equivalent process of when you hold down the option key and click the icon in the dock. For an app like iPhoto, it then offers you the choice of which library to open.
In my case, I’m trying to do the same thing with the Things.app application.
I would, if I could, just tell Things.app to open the applicable folder but ‘open’ is not a supported AS command.
open
open (verb)Open the specified object(s) (from Standard Suite)
command syntax:
open reference ¬
using reference ¬
with properties record
Example:
set file2open to (choose file) -- or choose folder, both are in Standard Additions osax
tell application "Finder" to open file2open using "path to Things.app"
JBS
Model: iMac
AppleScript: 2.5
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko)
Operating System: Mac OS X (10.10)