Create Action Set and name it like document
Hey guys,
i am looking for a script which allows me following steps to do in photoshop.
I have a action set called TEMP with an action called also TEMP.
I want a script to create a new Action Set which is called like the document,
my TEMP action should be transfered to this set, and the name should also be changed to the documents name.
the last step ist to save this action set and delete it afterwards.
It would be great if anybody could help me.
as far i´ve found following script to copy my filename to the clipboard.
#target photoshop
var d = new ActionDescriptor();
d.putString(stringIDToTypeID("textData"), File.decode(arguments[0].getPath(stringIDToTypeID("in")).name));
executeAction(stringIDToTypeID("textToClipboard"), d, DialogModes.NO);




