Skip to main content
Participant
April 18, 2009
Answered

Editing Actions outside of Photoshop

  • April 18, 2009
  • 2 replies
  • 3945 views

Hi,

I have 17 actions each containing multiple saves in different sub-folders ( I basically have to save files in 102 different folders) and that has to be repeated in 40 different folders. Since I do not see myself opening each one in Photoshop to edit the "save to" path 4000+ times, is there a way I could edit that path outside Photoshop? I tried a Hex Editor but I could not figure how to change the path since I could not find it in the script...

Any ideas anyone?

Thanks in advance

This topic has been closed for replies.
Correct answer xbytor2

In xtools there are two scripts that will help:ActionFileToXML.jsx and ActionFileFromXML.

You can do search&replace on the paths in XML using whatever tools you like.

Doing this on 17 action files is left as an exercise for the reader. If they're all in the same action file, it's trivial.

-X

2 replies

Participant
April 27, 2009

If you make a mistake when recording an action, don’t panic. Once you’ve stopped recording the action, you can return to a command and double-click it to open the dialog box that contains incorrect settings. Make your changes and close the dialog box. The changes are saved in the action. You can remove a statement from an action by dragging it over the trashcan icon at the foot of the Actions palette.

To add a step, click where it should appear in the action and click the Begin Recording button. Record the missing commands and, when you’re done, click the Stop Playing/Recording button.

Inspiring
April 18, 2009

You should be able to edit the actions in the Photoshop GUI. Just double click on the step you want to edit. Any changes you make will be recorded.

You may also want to look at Xbytor's extools. One of those scripts converts actions to XML and back. You may be able to edit the save path that way

xbytor2Correct answer
Inspiring
April 19, 2009

In xtools there are two scripts that will help:ActionFileToXML.jsx and ActionFileFromXML.

You can do search&replace on the paths in XML using whatever tools you like.

Doing this on 17 action files is left as an exercise for the reader. If they're all in the same action file, it's trivial.

-X

Participant
April 20, 2009

Thanks Xbytor2! That is exactly what I was looking for!

Although when I try to run the ActionFileToXML.js script I always get a "bad path error" and it won't run. I've tried using relative and absolutes paths for the .atn file, do you have any idea why it would say that?

thanks!