• 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: scripting mail to select mailboxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting mail to select mailboxes


  • Subject: Re: scripting mail to select mailboxes
  • From: Jon Pugh <email@hidden>
  • Date: Wed, 12 Mar 2003 22:45:36 -0800

At 2:18 PM -0800 3/12/03, cricket wrote:
>Applescript is strict about containment hierarchy.

Not to be cantankerous or anything, but AppleScript is *not* strict about containment. The applications are. AppleScript will allow any old containment hierarchy you specify, which was the error that prompted this comment.

You can nest any tell statements you want, or build any object specifier you can imagine and AppleScript will gladly comply. However, the application you are telling may complain at run time if the object specifier is ill formed. This is not AppleScript's doing.

In fact, it is possible for applications to be less strict by supporting shortcuts. For example, if an application could only ever have one document, it might allow document references, but also allow document properties to be accessed from the application object, just for ease of use. Then "foo" and "foo of document 1" would both work. Most applications don't do this, but they could, and AppleScript would let them.

Trivially and pedantically,

Jon
_______________________________________________
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: scripting mail to select mailboxes
      • From: cricket <email@hidden>
References: 
 >Re: scripting mail to select mailboxes (From: "David P. Baker" <email@hidden>)
 >Re: scripting mail to select mailboxes (From: cricket <email@hidden>)

  • Prev by Date: Re: reboot into OS 9
  • Next by Date: Re: Import Quark document into Quark
  • Previous by thread: Re: scripting mail to select mailboxes
  • Next by thread: Re: scripting mail to select mailboxes
  • Index(es):
    • Date
    • Thread