Loosing Clipping path in EPS
Loosing Clipping path in EPS
- Subject: Loosing Clipping path in EPS
- From: "Young, Rich A." <email@hidden>
- Date: Fri, 12 Aug 2005 09:13:21 -0500
Hi,
I have a script that takes a color EPS file and opens it in Photoshop 7.0.1
and converts it to grayscale. The conversion and saving part works fine. The
problem I'm having is the EPS files all have clipping paths that are
disappearing when I open the EPS's with Applescript. I checked the Photoshop
Scripting documentation as well as the information on the Adobe Developer
site and I can't see anything about retaining clipping paths when opening a
file or why the clipping path would disappear. Does anyone know of a
solution to this?
I have included the conversion script. Mac OS 9.2.2 and Photoshop 7.0.1 with
the Scripting Plug In installed.
tell application "Finder"
set myTempFileName to "TURBOEDITSTV1:STV Test Files:8/21 TAB COVER
STORY:ccus1bck821.eps" as string
end tell
set myFile to alias "TURBOEDITSTV1STV Test Files:8/21 TAB COVER
STORY:us1bck821.epsc"
tell application "Adobe Photoshop 7.0"
activate
set display dialogs to never
open myFile as EPS with options {class:EPS open options, mode:CMYK,
resolution:170}
change mode current document to grayscale
set saveOptions to {class:EPS save options, preview type:eight bit TIFF,
vector data:false}
try
save current document in file myTempFileName as Photoshop EPS with
options saveOptions
on error errmsg
end try
close every document saving no
quit
end tell
Thanks for any assistance anyone can offer.
Rich Young
TVData Europe
_______________________________________________
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