saving pages as EPS
saving pages as EPS
- Subject: saving pages as EPS
- From: "Jason Miranda" <email@hidden>
- Date: Mon, 10 Sep 2001 12:53:08 -0400
- Thread-topic: saving pages as EPS
Hi all,
I'm having a hard time with the following script:
tell application "QuarkXPress 4.11"
tell document 1
repeat with i from 1 to count of pages
tell page i
set thePath to "Cressida:testEPS:"
copy the file path of image 1 of picture
box 1 as string to unparsedName
set pathLength to the length of
unparsedName
set parsedName to characters 23 through
(pathLength - 4)
of unparsedName as string --gets
just file name
save EPS format Mac color include
preview "false"
EPS data binary EPS OPI include
images in (thePath & parsedName)
end tell
end repeat
end tell
close document 1 saving no
end tell
I'm trying to capture the name of the image on each Quark page & using
that to name the EPS file, instead of having to rename the file later.
However, this results in a nasty change in the image link: the link gets
set to the new EPS file (even if the original linked file was a TIF),
and then the status of the image gets set to "Missing." And, more, the
original XPress doc and linked images are on a separate Firewire drive
(Cressida referred to above is master drive). I've also tried it saving
the images to different drives, deeper paths with no luck.
I thought perhaps it was because I was setting the variable
"unparsedName" to the file path rather than copying the file path, but
after changing it the result was the same.
Does anyone know of a solution to this problem?
Jason Miranda
Media Asset Manager
Jones and Bartlett Publishers
40 Tall Pine Drive
Sudbury, MA 01776
978.579.8223 (ph)
978.443.8000 (fax)
email@hidden
www.jbpub.com