• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Help needed AS & PhotoScripter.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [OT] Mac OS 9.1 stability
  • Next by Date: Re: backup script
  • Previous by thread: Re: Question: Printing Without Dialog Boxes
  • Next by thread: Re: Help needed AS & PhotoScripter.
  • Index(es):
    • Date
    • Thread