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

Image Processor Load XML: how to specify run multiple Actions on the same image?

Community Beginner ,
Feb 02, 2024 Feb 02, 2024

Copy link to clipboard

Copied

I would like to run three Actions on all the images in my folder using the Image Processor screen. But the interface doesn't allow one to select more than one Action from the drop down menu near the bottom.  Note: I cannot achieve what I want by performing all the image manipulation when creating the Action. That's for another post.

 

001.JPG

I then clicked Save to export this Image Processing script(?) as an XML file. I did this for all three of the Actions I want to combine. I then had three XLM files in a folder. Here is what one of them looks like when I open it in Notepad++.

<ImageProcessor>
<version>1</version>
<useopen>false</useopen>
<includesub>false</includesub>
<source>K:\Photoshop test</source>
<open>false</open>
<saveinsame>false</saveinsame>
<dest>K:\Photoshop test\AfterAutomate</dest>
<jpeg>false</jpeg>
<psd>false</psd>
<tiff>true</tiff>
<lzw>false</lzw>
<converticc>false</converticc>
<q>12</q>
<max>true</max>
<jpegresize>false</jpegresize>
<jpegw>1</jpegw>
<jpegh>1</jpegh>
<psdresize>false</psdresize>
<psdw>1</psdw>
<psdh>1</psdh>
<tiffresize>false</tiffresize>
<tiffw>1</tiffw>
<tiffh>1</tiffh>
<runaction>true</runaction>
<actionset>Default Actions</actionset>
<action>!Landscape</action>
<info/>
<icc>true</icc>
<keepstructure>false</keepstructure>
</ImageProcessor>

 

Then I copied the all code from each of the three XML files in a new XML into a new XML file. Then in Image Processor, I clicked Load, added the new XML file, and clicked Run. But it didn't perform the three separate Actions. It only performed the Action that was visible in the Image Processor screen (ie, !Square).

 

In one test, the <ImageProcessor></ImageProcessor> tags appeared three times. In another test, I only used these tags once.

 

Here is my question: how can one run more than one Action within Image Processor, whether using some XML programming trick or some other method?

 

TOPICS
Actions and scripting , Experiment

Views

80

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Feb 02, 2024 Feb 02, 2024

Record a new action that plays the 3 actions. Reference this new action in the script interface.

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 02, 2024 Feb 02, 2024

Copy link to clipboard

Copied

Record a new action that plays the 3 actions. Reference this new action in the script interface.

Votes

Translate

Translate

Report

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
Engaged ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

Since you need to run one action after the other, why don't you create a fourth action that simply Plays action 1, Plays action 2, Plays action 3, and link that one in Image Processor?
UPDATE: Sorry, for some reason I didn't see @Stephen_A_Marsh reply when scrolling 😄 

PS developer and author
www.ps-scripting.com

Votes

Translate

Translate

Report

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 ,
Feb 03, 2024 Feb 03, 2024

Copy link to clipboard

Copied

LATEST

@darryll88109905 

 

I noticed that you added custom actions to the Default Actions.

 

This isn't recommended as the Default Actions can be reset, and then you will lose your custom actions.

 

Best to create a new action set (Folder), then drag the custom actions out of the Default Actions set into the new set.

 

Make sure that you save this new action set to .atn file so that it can be reloaded if your main action panel preference file is reset.

 

https://prepression.blogspot.com/2017/01/photoshop-custom-action-file-backup.html

Votes

Translate

Translate

Report

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