• 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: App Names?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App Names?


  • Subject: Re: App Names?
  • From: Mr Tea <email@hidden>
  • Date: Wed, 03 Jan 2001 21:29:50 +0000

This from Sal - dateline 3/1/01 6.40 pm:

> If I want to start an application, how do I
> know what app name to use? Is it the name of the executable code file?

Yes. You can tell any application to activate (or run if you want it to stay
in the background) using this syntax:

tell application "SimpleText"
activate
end tell

If you are not telling the application to do anything else, you can shorten
this to:

tell application "SimpleText" to activate

With both of these options, the Script Editor may ask you to locate the
application the first time you compile or try to run the script, in which
case you should navigate to and 'open' the relevant app. This will also
correct any spelling errors that may have crept into the application's name
(missing hyphens, trade-mark symbols, etc).

You can also launch an application by telling the Finder to open the
'executable code file' that you want and including the path to the file in
your script... But you don't want to do that.

Mr Tea
--
Brew of the day: Ceylon


References: 
 >App Names? (From: Sal <email@hidden>)

  • Prev by Date: Re: List processes problem
  • Next by Date: Re: scripting netscape 4.76
  • Previous by thread: Re: App Names?
  • Next by thread: Re: App Names?
  • Index(es):
    • Date
    • Thread