• 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 Basics in Illustrator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Basics in Illustrator


  • Subject: Re: Scripting Basics in Illustrator
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 4 Mar 2004 12:33:00 +1100

On Mar 4, 2004, at 9:20 AM, I am a developer wrote:

1) I am having trouble with Telling Illustrator what document to open (I am having a similiar problem with Filemaker Pro)

tell application "Illustrator CS"
open alias "path:To:File" dialogs false
end tell

There are other options depending on the type of file.

2) Fnding any references in Illustrators dictionary to the 'Select" commands. Can anyone help me out.

set selection to every page item of document 1

I am trying top open a specified file, select all, copy, close then paste the selection into a new document or existing document.

Copy and paste is the method of last resort. Much better to just:

tell application "Illustrator CS"
duplicate every page item of document 1 to document 2
end tell

That'll copy them, in the same place. Of course if there are layers involved, you'll need to do a bit more work.

--
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: 
 >Scripting Basics in Illustrator (From: "I am a developer" <email@hidden>)

  • Prev by Date: Re: TechNote 2106
  • Next by Date: Re: TechNote 2106
  • Previous by thread: Scripting Basics in Illustrator
  • Next by thread: Re: Results differ in editor and applet
  • Index(es):
    • Date
    • Thread