Re: Scripting Basics in Illustrator
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.