Quark - EPS
Quark - EPS
- Subject: Quark - EPS
- From: Sophie Ford <email@hidden>
- Date: Wed, 8 Dec 2004 15:46:11 +0000
The following code produces this error: QuarkXPress got an error: Expected a reference.
set folderSelect to choose folder "Please choose a destination folder for EPS files" -- Begin by prompting user for a folder destination for the EPS files that will be produced by the script
set docSelect to choose file "Please choose a file to EPS" -- Browse for a file to EPS
tell application "QuarkXPress"
activate -- Speak to Quark and bring to the front
repeat with i from 1 to count of pages in docSelect -- Loop through each page in current document with repeat
save page i of docSelect in file (folderSelect & i as text) EPS format Mac color EPS data binary EPS -- For each page of current document, tell quark to save page as binary macintosh EPS file. To help identify the files name each file with current page number
end repeat
end tell
I have tried taking out the loop in attempt to create a single EPS file. This approach produces this error: QuarkXPress got an error: Can't get page of alias.
set folderSelect to choose folder "Please choose a destination folder for EPS files"
set docSelect to choose file "Please choose a file to EPS"
tell application "QuarkXPress"
activate
save page of docSelect in file folderSelect as text EPS format Mac color EPS data binary EPS
end tell
Any ideas will be greatly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden