• 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: 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.

  • Follow-Ups:
    • Re: Simple question - how2 launch apps in OS X via a script
      • From: Steve Roy <email@hidden>
References: 
 >Re: Simple question - how2 launch apps in OS X via a script (From: kai <email@hidden>)

  • Prev by Date: Re: Eudora AppleScript Question...
  • Next by Date: Re: POSIX file question
  • Previous by thread: Re: Simple question - how2 launch apps in OS X via a script
  • Next by thread: Re: Simple question - how2 launch apps in OS X via a script
  • Index(es):
    • Date
    • Thread