Re: scripting mail to select mailboxes
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.