Copy link to clipboard
Copied
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);
Copy link to clipboard
Copied
I'm a bit confused as to why you want to do this? What is it that you're trying to achieve with this work flow? A straight script might be better.
Copy link to clipboard
Copied
I am working with a lot of files. My TEMP action is an action to transform my layer and i have other actions where this TEMP action is a part of it. I dont want to change everytime all actions so, i just change the temp action for each file. In the end i want to export the action set and name it excactly like the file, so i dont lose overview.
Copy link to clipboard
Copied
I understand that you're working with a bunch of files, but what in your workflow or action makes it that you have to have a separate action set for each file?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You're not really answering my questions. You can't write a script to create a new action set. So what I want to know is:
1. Why do you need a separate action and action set for each file?
2. Why can't you use just one action or script for what you want to do?
Copy link to clipboard
Copied
Copy link to clipboard
Copied