Re: Simple question - how2 launch apps in OS X via a script
Re: Simple question - how2 launch apps in OS X via a script
- Subject: Re: Simple question - how2 launch apps in OS X via a script
- From: Christopher Nebel <email@hidden>
- Date: Thu, 23 Oct 2003 18:17:09 -0700
On Oct 22, 2003, at 1:54 PM, kai wrote:
on Tue, 21 Oct 2003 17:43:25 -0700, Robert DeLaurentis wrote:
What is the best way to launch applications via Applescript. I want
to open
a set of apps, some of which are not scriptable. Is there a uniform,
generally accepted method for launching an app itself from a script?
Besides the 'run', 'activate' and 'Finder/open' commands already
mentioned, there's also the 'launch' command, which allows an
application to open without performing its usual startup procedures
(such as opening a new window):
And in case it wasn't already obvious, all of these work whether or not
the application is scriptable in any more advanced sense. There are a
few basic functions all Mac applications have to support, or else they
just won't work right, and that's what these rely on. (The complete
list is run, open, reopen, print, and quit. Strictly speaking, open
and print are optional, since they don't make sense for all
applications. Launch and activate are actually handled by the system,
so an application doesn't have to do anything to support them, it just
has to not interfere.)
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.