• 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
Using selective color command/ any decent Photoshop Applecripts guidebooks out there?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using selective color command/ any decent Photoshop Applecripts guidebooks out there?


  • Subject: Using selective color command/ any decent Photoshop Applecripts guidebooks out there?
  • From: email@hidden
  • Date: Fri, 16 Sep 2005 09:15:43 -0400

Hi,
    The most frustrating thing I've encountered scripting CS with
AppleScript is the lack of consistency in addressing commands options. For
example, if I want to adjust the brightness and contrast of an image, I can
write:

set docRef to current document
   set current layer of docRef to background layer of docRef
   adjust current layer of docRef using brightness and contrast with
options {brightness level: 3, contrast level: 3}

-- now you'd think that setting selective color would be just as easy:

set current layer of docRef to background layer of docRef
   adjust current layer of docRef using selective color with options
{selection method: relative, neutrals:{-25,0,0,-25}}

But you'd be wrong. I'm missing a "required parameter" for this command But
what the heck is said parameter? The dictionary provides no clue.

Can anyone see what I'm doing wrong above? And is anybody (Matt Neuburg?)
out there writing a decent scripting guidebook for CS? I'd buy it in a
heartbeat . . .
    Best,
       Jim

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using selective color command/ any decent Photoshop Applecripts guidebooks out there?
      • From: Tom Brice <email@hidden>
  • Prev by Date: Re: Folder Actions (System Events) failure
  • Next by Date: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Previous by thread: Re: How to do some AppleScript inside a Perl program to label duplicates
  • Next by thread: Re: Using selective color command/ any decent Photoshop Applecripts guidebooks out there?
  • Index(es):
    • Date
    • Thread