Re: Illustrator scripting syntax
Re: Illustrator scripting syntax
- Subject: Re: Illustrator scripting syntax
- From: Shane Stanley <email@hidden>
- Date: Thu, 13 Mar 2003 10:34:43 +1100
On 13/3/03 9:24 AM +1000, Preston Smith, email@hidden,
wrote:
>
Does anyone know why Illustrator uses the convention of;
>
>
"set MyDocument to make document" etc
>
>
as opposed to
>
>
"make new document"
>
>
The "set something to do something" isn't intuitive to me. It looks to me
>
as if I'm making a variable to create the document.
You can do it either way -- what the first example does is create the
document and create a reference to it at the same time. There's usually not
much point when creating documents, but it's often a very useful technique
when creating other objects.
--
Shane Stanley, email@hidden
_______________________________________________
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.