• 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: Load Photoshop Actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load Photoshop Actions


  • Subject: Re: Load Photoshop Actions
  • From: Stan Cleveland <email@hidden>
  • Date: Wed, 14 Apr 2010 16:25:46 -0700
  • Thread-topic: Load Photoshop Actions

On 4/14/10 3:16 PM, "Simon, Garry" wrote:

> Hi, does anyone know if it's possible to use a script to have Adobe Photoshop
> check to see if an action set exists, and if not, load it? Sort of the way
> InDesign can be scripted to load presets?

Hi Garry,

Neither AppleScript, nor Photoshop¹s internal javascript, directly supports
what you need. However, you *can* indirectly test for the existence of a
particular action in a particular set this way:

    tell application "Adobe Photoshop CS4"
        try
            do action "My Action" from "My Set"
        on error number 8800 -- action or set not found
            -- handle error as desired
        end try
    end tell

My question to you is, why not rewrite the steps of your action(s) in
AppleScript (or javascript)? Besides keeping the basic functionality, you
could have better user interaction and the option of conditional branching.

Just a thought,
Stan C.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Load Photoshop Actions
      • From: Stan Cleveland <email@hidden>
References: 
 >Load Photoshop Actions (From: "Simon, Garry" <email@hidden>)

  • Prev by Date: Load Photoshop Actions
  • Next by Date: Re: Load Photoshop Actions
  • Previous by thread: Load Photoshop Actions
  • Next by thread: Re: Load Photoshop Actions
  • Index(es):
    • Date
    • Thread