Re: PhotoScripter and Curves
Re: PhotoScripter and Curves
- Subject: Re: PhotoScripter and Curves
- From: Paul Skinner <email@hidden>
- Date: Fri, 29 Jun 2001 10:01:35 -0400
on 6/28/01 11:40 PM, Shane Stanley wrote:
>
On 29/6/01 12:36 PM +1000, Paul Skinner, email@hidden, wrote:
>
>
> Ok, what's up with this? creating files to load in order to create curve
>
> value point lists, then systematizing the creation of the files with
>
> multiple handlers and script objects. What's next? Hex?
>
> Is there a common failure with the curves command in PhotoScripter that
>
> my box is immune to? I can't imagine that you and Shane would do this all
>
> for fun. Wait...I might be being a bit presumptuous on that. : )
>
>
You are with Arthur. He wouldn't be happy with a script that made his
>
morning coffee unless the milk and sugar were first defined as script
>
objects...
SNIP
>
Well what do you know, it works fine now. Alas, another line doesn't. Here's
>
a sample that shows the problem:
>
>
tell application "Adobe. Photoshop. 6.0.1"
>
save current document in (file "Macintosh HD:A pic") as JPEG {image
>
quality:5, baseline optimized:true, saving paths:false} without appending
>
file extension and making copy
>
save current document in (file "Macintosh HD:A folder:A pic") as JPEG
>
{image quality:5, baseline optimized:true, saving paths:false} without
>
appending file extension and making copy
>
end tell
>
>
The second save fails with the error:
>
>
--> Adobe. Photoshop. 6.0.1 got an error: Folder Macintosh HD:A folder:A
>
pic wasn't found.
>
>
Which doesn't make a whole lot of sense (yes, folder "A folder" exists).
>
>
How does that behave at your end?
Works as advertised here. What version of PhotoScripter are you running?
--
"AppleScript is digital duct tape."
Paul Skinner