• 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: PhotoScripter and Curves
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PhotoScripter and Curves


  • Subject: Re: PhotoScripter and Curves
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 29 Jun 2001 13:40:03 +1000

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

I haven't tried it for a long while -- that was code I put together in a
mild panic with Photoshop 5, when I couldn't get the curves command to work.

I suppose I should go back and check with v6 -- I don't think I've ever run
it in v6 -- but settings files that keep appearing from nowhere are a good
way to attract attention ;-)

> Seriously, Is this the only way that you can achieve a working solution?
> I haven't found any problems with this command running my configuration.

OK, I can take a hint. Where is that script... Ah, here's the offending
line, still there but commented out:

--adjust changing curves to {adjustment:{curves adjustment {channel:black
channel, curve:{{0, 0}, {128, 195}, {255, 250}}}}}

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?

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: PhotoScripter and Curves
      • From: Paul Skinner <email@hidden>
    • Re: PhotoScripter and Curves
      • From: Shane Stanley <email@hidden>
References: 
 >Re: PhotoScripter and Curves (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: load script question
  • Next by Date: newbie questions
  • Previous by thread: Re: PhotoScripter and Curves
  • Next by thread: Re: PhotoScripter and Curves
  • Index(es):
    • Date
    • Thread