Skip navigation
Currently Being Moderated

Any way to edit actions in a text/script editor?

Aug 9, 2010 12:48 PM

I need to duplicate a very long action about 5 times and make file-name saving changes to each step, but going through the resaving process 75 times is a pain in the ***.  It's a simple action that shows, saves, and hides 75 different layers individually.  But the naming of these saved files will be different depeing on the photoshop file I'm using (about 5 different variances).  Batch Processing just takes too long to do what my action will do in 10 seconds, so it seems like I'm stuck with using actions.  My question is:

 

Is there a way to edit actions through a text/script editor vs using Photoshop?  I could copy/paste/replace text much quicker than going through the actual saving process 375 times.

 
Replies
  • Currently Being Moderated
    Aug 9, 2010 1:01 PM   in reply to bsnyder175

    Ctrl + Alt (Cmd + Opt on Mac) while click on Save Actions from the Actions panel flyout will give you a txt file. The problem is that I do not know about a way to re-convert this into an atn.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 9, 2010 1:03 PM   in reply to bsnyder175

    This will convert an action file to XML:

    http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/apps/Ac tionFileToXML.jsx

     

    You can edit this file with a normal text editor.

     

    This will convert an XML file to an action file:

    http://ps-scripts.cvs.sourceforge.net/viewvc/ps-scripts/xtools/apps/Ac tionFileFromXML.jsx

     

    There are a few cases where this does not work. But they are not very common.

     
    |
    Mark as:
  • JJMack
    3,425 posts
    Jan 9, 2006
    Currently Being Moderated
    Aug 10, 2010 6:14 AM   in reply to bsnyder175

    bsnyder175 wrote:

     

    Xbytor, I visited your 2 links, but don't understand how I implement my action file into that system.  Is it something I download?  When I visited the links, they were just browser pages filled with what looks like script.

    Try a right click on the links to Xbytor and choose save link as and save his two scripts into your \Photoshop version\Presets\Scripts. The next time you start Photoshop you will have two nes scripts in meny File>Scripts... . You can edit a XML file with a text editor like wordpad.

     

    Also the Action Palette is a full fledge Action editor.  It should be quite easy to edit you action highlight the sections you want to dupe five times and replicate that section five times then rerecord(edit) the duped "saved as" steps. You may want to look at my crafting action package.

    http://www.mouseprints.net/old/dpr/JJMacksCraftingActions.zip

    Contains:

    Action Actions Palette Tips.txt

    Action Creation Guidelines.txt

    Action Dealing with Image Size.txt

    Action Enhanced via Scripted Photoshop Functions.txt

    CraftedActions.atn Sample Action set includes an example Watermarking action

    Sample Actions.txt Photoshop CraftedActions set saved as a text file. This file has some additional comments I inserted describing how the actions work.

    12 Scripts for actions

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 21, 2013 12:03 PM   in reply to xbytor2

    This was an incredibly helpful toolset- thank you!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points