• 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: Illustrator scripting syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Illustrator scripting syntax (From: Preston Smith <email@hidden>)

  • Prev by Date: Re: "=" is equal to ...
  • Next by Date: Re: tell inside a tell
  • Previous by thread: Illustrator scripting syntax
  • Next by thread: Re: Illustrator scripting syntax
  • Index(es):
    • Date
    • Thread