• 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: Apple Events vs. AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple Events vs. AppleScript


  • Subject: Re: Apple Events vs. AppleScript
  • From: Olof Hellman <email@hidden>
  • Date: Mon, 21 May 2001 10:10:48 -0700

>> Can anyone explain the difference between an Apple Event and an
AppleScript?


An AppleScript is the human-readable form of MacOS interapplication
messages. AppleScript is a language.

Apple Events are the interapplication messages themselves, a sequence of
bytes which applications send to one another to cooperatively get things
done. The format of the data is an Apple defined standard. Apple Events
are a communication protocol.

If you double-click on an item in the Finder, an 'open documents' AppleEvent
will get sent to the application which is the creator of the file. That
same message can be expressed in AppleScript as

tell application "some app"
open alias "MacHD:some folder:name of the file you clicked on"
end tell


- Olof


  • Prev by Date: Re: mounting volume only by IP address
  • Next by Date: Font Suitcasing
  • Previous by thread: Re: Apple Events vs. AppleScript
  • Next by thread: How do I simply quit execution?
  • Index(es):
    • Date
    • Thread