Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Create Action Set and name it like document

Community Beginner ,
Sep 29, 2019 Sep 29, 2019

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);

 

 

Bildschirmfoto 2019-09-29 um 23.43.17.pngBildschirmfoto 2019-09-29 um 23.43.34.pngBildschirmfoto 2019-09-29 um 23.43.43.pngBildschirmfoto 2019-09-29 um 23.43.52.png

TOPICS
Actions and scripting
886
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Sep 29, 2019 Sep 29, 2019

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 29, 2019 Sep 29, 2019

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 29, 2019 Sep 29, 2019

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 29, 2019 Sep 29, 2019
Yes. That‘s excactly what i am Looking for... i have also tried another Workflow and lost overview pretty fast...
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 29, 2019 Sep 29, 2019

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 30, 2019 Sep 30, 2019
1. The action is for each file a different. Image a can't be transformed as image b. I need a action set for each file, to export my actions and save it with the file it belongs to.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 30, 2019 Sep 30, 2019
LATEST
There are always the same steps in my MAIN action, like reduce all visible to one layer, transform active layer (this should be my TEMP action), delete all paths etc., save as tiff, go back 5 steps in your history. It is time consuming to write the same action every time.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines