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: kai <email@hidden>
- Date: Wed, 22 Oct 2003 21:54:06 +0100
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):
-------------------
repeat with appName in {"TextEdit", "SimpleText", "Calculator"}
launch application appName
end repeat
-------------------
(You could, of course, specify the full path to an application instead of
just its name.)
---
kai
_______________________________________________
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.