• 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: email@hidden
  • Date: Tue, 13 Feb 2001 16:31:21 -0800

>>>>So I sold the powers that be on using staying with Macs for use as a
production machine with Photoshop and PhotScripter processing RGB's into
CMYK's for pre-press production. I have grand designs on how I want the
script to go but I am really going by the seat of my pants and running low
on
time to justify all the cash laid down for this setup. (The new system goes
live Monday)

You are so close to how you're going to solve this...

>>>>tell the current document
--<snip>
>>>> save processImage as JPEG {image quality:10} in save
processImage as JPEG {image quality:10} in "ImagesHD:finis" with appending
file extension

Two problems with this snippet:

First, you are telling the current document to save processImage...
well your variable, processImage, is not a reference to the open Photoshop
document but is a reference to the file the document was open from.

Second, you are not specifying that the image be saved in a file, but
in a string. (Perhaps your script relies on some automatic coersion which
means it may not work on macs with different OSAX installed.).

All you have to do is remove that variable from the command and change the
file path's string to a file reference:

tell the current document
--<snip>
save as JPEG {image quality:10} in file "ImagesHD:finis" with
appending file extension

This works for me.

Keep in mind that you will end up with a file named "finis".

If that's the name of the folder it's supposed to be saved in then you
concatenate the folder path with the file name before you save.

set myFile to "ImagesHD:finis:" & the name of the current document as
string

>>>>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.

Ah, Photoshop Actions, for those who enjoy banging their heads against
walls. Yes, there are tasks that could be accomplished with them, but life
is too short. PhotoActions do not give you anywhere near the flexibility
and control that AppleScript/PhotoScripter does.

You made the right choice.


ES


  • Prev by Date: Re: Accessing a Record by variable
  • Next by Date: Re: Hidding process of AppleScript application
  • Previous by thread: Re: Need to search a folder and sub folders for files
  • Next by thread: Re: Count of specific string in Word (was re: Count of Tab characters)
  • Index(es):
    • Date
    • Thread