Save Actionset to .atn?

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

kjell
Posts: 8
Joined: Wed Nov 30, 2016 1:11 pm

Save Actionset to .atn?

Post by kjell »

I've been searching but can't seem to find any code to save a given Actionset to a (.atn) file.

Is it possible?
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: Save Actionset to .atn?

Post by txuku »

Bonjour

What interest?

You can do it manually .............

??? :o
kjell
Posts: 8
Joined: Wed Nov 30, 2016 1:11 pm

Re: Save Actionset to .atn?

Post by kjell »

If done manually, it has to be done for every set which is a bit tedious.
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: Save Actionset to .atn?

Post by txuku »

Bonjour

I'm not sure I understand your desires ....

Can you explain better?
kjell
Posts: 8
Joined: Wed Nov 30, 2016 1:11 pm

Re: Save Actionset to .atn?

Post by kjell »

Sure, let's say I have loaded three action sets in my actions palette: set1.atn, set2.atn, set3.atn

I'm looking for a script that could save the contents of the actions palette, in the above example to three files: set1.atn, set2.atn, set3.atn.

This would make it easier to move action sets between Photoshop installations.
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: Save Actionset to .atn?

Post by txuku »

Bonjour

You can download Xtools from xbytorand use script ActionToJavascript.jsx ?
kjell
Posts: 8
Joined: Wed Nov 30, 2016 1:11 pm

Re: Save Actionset to .atn?

Post by kjell »

Yes, that's an option but on the new Photoshop installation I won't be able to edit actions as they are now .jsx-files.
xbytor
Posts: 22
Joined: Thu Jan 01, 1970 12:00 am

Re: Save Actionset to .atn?

Post by xbytor »

xtools/xapps/ActionsPaletteToFiles.jsx if you have xtools installed. If not, this is a standalone version http://ps-scripts.cvs.sourceforge.net/v ... oFiles.jsx

You need to set a flag in the file USE_RUNTIME_PALETTE to true.
User avatar
txuku
Posts: 136
Joined: Thu Jan 01, 1970 12:00 am

Re: Save Actionset to .atn?

Post by txuku »

Bonjour

Thank you for your passage xbytor ! :)
kjell
Posts: 8
Joined: Wed Nov 30, 2016 1:11 pm

Re: Save Actionset to .atn?

Post by kjell »

Amazing, that worked! Thanks X!