PS CS actions require full path to scripts.

RG
Posted By
Rags Gardner
May 3, 2005
Views
365
Replies
2
Status
Closed
Installing PS CS2 on a laptop, I copied all my existing CS1 user actions and scripts to the correct locations on the new machine. The scripts all run fine from PS file – scripts. But when called by actions, the full path to the script is stored. Since the PS install location was different on the laptop, all the actions failed. I needed to re-record the script step in each action.

Since scripts usually run from one location, relative to the PS install path, the path should not be saved in the action. I could not find a way to circumvent this in CS1 or CS2. Just irritation, albeit some will think it is minor.

Cheers, Rags 🙂

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

DR
Danny Raphael
May 3, 2005
Food for thought…

I. If this is a serious issue (as in you’ve got hundreds of actions to modify), one alternative to consider would be:
* Save all the affected actions in a single action set
* Save the action set as an .atn file
* Use a Hex Editor utility to modify the .atn file: Do a global find/replace on the old/new path. One would need to take into account additional/fewer characters in the path name, as well as values for variable length fields.

Functional, but not for the feint at heart.

II. If you have many actions that call just a few scripts, on the laptop you could record the new script commands into a new action, then copy (alt + drag/drop) a replacement command into an action and delete the old one.

keywords: CS2 scripts
RG
Rags Gardner
May 3, 2005
Thanks Danny.

For me it was about 20 actions. I just recorded a new step in each action and deleted the old one. This works even if the script fails (no active image for it to operate on).

Cheers, Rags 🙂

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections