RE: Help needed AS & PhotoScripter.
RE: Help needed AS & PhotoScripter.
- Subject: RE: Help needed AS & PhotoScripter.
- From: "Goodman, Steve" <email@hidden>
- Date: Tue, 13 Feb 2001 15:33:45 -0600
>
My script...
>
>
tell application "Finder"
>
set fileList to every file in folder "ImagesHD:photos"
>
end tell
>
repeat with processImage in fileList
>
tell application "Adobe. Photoshop. 6.0"
>
open processImage
>
>
tell the current document
>
if its color space is not CMYK mode then
>
convert it to CMYK mode
>
end if
>
save processImage as JPEG {image quality:10} in
>
"ImagesHD:finis" ,
>
with appending file extension
>
close it saving no
>
end tell
>
end tell
>
end repeat
>
>
The current result....
>
>
Can't make +class JPEG; {+class qltI;:10} of +class curD; of
>
application "Adobe. Photoshop. 6.0" into the expected type.
>
This process can be accomplshed without Photoscripter. Set up a Photoshop
action that converts and saves the file as a jpg (with the quality you want)
into the specified folder. Make sure the action does not contain the open
command. If the image is already CMYK then it will skip that portion of the
action.
tell application "Adobe. Photoshop. 6.0"
open processImage
do script "your action name"
end tell
Steve Goodman
Vertis - THE LTC GROUP
......."Duct tape is like the force, it has a light side and a dark side and
it holds the universe together."------Unknown