• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Simple question - how2 launch apps in OS X via a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Simple question - how2 launch apps in OS X via a script
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: minimize the terminal.
  • Next by Date: Re: Get IP Address
  • Previous by thread: Need to script tracking in multiple Quark files
  • Next by thread: Re: Simple question - how2 launch apps in OS X via a script
  • Index(es):
    • Date
    • Thread