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

Combining Photoshop Image Processor Pro scripts

Community Beginner ,
May 23, 2017 May 23, 2017

Copy link to clipboard

Copied

Hi, any one know how to combine several Photoshop Image Processor Pro scripts one after another? I tried putting the code altogether in extend script but it eventualy became a mess and wondering if im missing anything that one of these programs can do swiftly.

TOPICS
Actions and scripting

Views

1.2K

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 , May 23, 2017 May 23, 2017

https://forums.adobe.com/people/nilesh+ricci+parmar  wrote

Hi, any one know how to combine several Photoshop Image Processor Pro scripts one after another?

Do you realize the the Image Processor Pro is a Photoshop Plug-in.  You can record using it in an action.  When you do The Image Processor Pro will record the setting you used recording the action Into you Actions step.   When you Play you action. The Image Processor Pro step will pass the recorded settings to the Images Processor Pro , Image P

...

Votes

Translate

Translate
Adobe
Community Expert ,
May 23, 2017 May 23, 2017

Copy link to clipboard

Copied

You may not have provided enough information for a meaningful answer.

What is

combine several Photoshop Image Processor Pro scripts one after another

supposed to mean exactly?

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 ,
May 23, 2017 May 23, 2017

Copy link to clipboard

Copied

https://forums.adobe.com/people/nilesh+ricci+parmar  wrote

Hi, any one know how to combine several Photoshop Image Processor Pro scripts one after another?

Do you realize the the Image Processor Pro is a Photoshop Plug-in.  You can record using it in an action.  When you do The Image Processor Pro will record the setting you used recording the action Into you Actions step.   When you Play you action. The Image Processor Pro step will pass the recorded settings to the Images Processor Pro , Image Processor pro will bypass displaying its dialog and use the the setting passed  to and process accordingly.   So if your sequential use of the image processor pro  always use the same setting you could just record and action with a sequence of Image Processor Pro steps.   When Played the steps would play without needing your intervention for Image Processor Pro would bypass displaying its dialog and process with the setting passed.

If your sequence can not always be done with the same settings.  A Photoshop script could pass the required setting to the Image Processor Pro plug-in like actions do.  However, You would need to ask X how to pass the setting.  The Action step recorded the the Image Processor Pro step looks like and empty step in a recorded action.  I have no idea what the Image Processor Pro plug-in recorded into the seemingly empty step.   I would imagine it would look like XML.  Image Processor Pro uses XML for its settings... Default settings are installed along with the script." Image Processor Pro.jsx" and "Image Processor Pro.xml"

Image Processor Pro has a limit of 10 output sets of images and I have had problems recording actions that has 10 output sets in CC 2017.  They record fine in prior versions of Photoshop and these play fine in CC 2017.

<?xml version="1.0" encoding="utf-8"?>

<ImageProcessorProSettings>

  <input source="folder"/>

  <output path="~/Desktop/Output Folder" subfolder="true" keepStructure="false" retainOrignal="true"/>

  <taskList>

    <task enabled="true" subfolderName="Set 1" colorProfile="sRGB IEC61966-2.1">

      <saveOptions fileSaveType="jpg" jpgQuality="10" jpgEmbedColorProfile="true" jpgFormat="Standard" saveForWeb="false"/>

      <resizeOptions enabled="true" width="800" widthUnits="pixels" height="800" heightUnits="pixels" resolution="72" resolutionUnits="pixels/inch" scale="true" resampleMethod="bicubic"/>

      <action enabled="false" when="Before Image Resize" set="Default Actions" name="Sepia Toning (layer)"/>

      <namingOptions startingSerial="1">Name,lowerCaseExtension</namingOptions>

    </task>

    <task enabled="true" subfolderName="Set 2" colorProfile="Same as Source">

      <saveOptions fileSaveType="tiff" tiffByteOrder="MacOS" tiffEncoding="None" tiffEmbedColorProfile="true"/>

      <resizeOptions enabled="true" width="1200" widthUnits="pixels" height="1200" heightUnits="pixels" resolution="240" resolutionUnits="pixels/inch" scale="true" resampleMethod="bicubic"/>

      <action enabled="false" when="After Image Resize" set="Default Actions" name="Vignette (selection)"/>

      <namingOptions startingSerial="1">Name,lowerCaseExtension</namingOptions>

    </task>

    <task enabled="true" subfolderName="Set 3" colorProfile="Same as Source">

      <saveOptions fileSaveType="psd" psdAlphaChannels="true" psdEmbedColorProfile="true" psdLayers="true" psdMaximizeCompatibility="true"/>

      <resizeOptions enabled="false"/>

      <action enabled="false" when="After Image Resize" set="Default Actions" name="Vignette (selection)"/>

      <namingOptions startingSerial="1">Name,lowerCaseExtension</namingOptions>

    </task>

  </taskList>

  <preferences/>

</ImageProcessorProSettings>

You  would also most likely  need to use its UUID 611736f0-9c46-11e0-aa82-0800200c9a66 to run the Image Processor Pro from a scrip a pass the XML settings.

#target photoshop

//

// ImageProcessorNG.jsx

//

// $Id: ImageProcessorNG.jsx,v 1.166 2016/02/02 23:42:20 anonymous Exp $

// Copyright: (c)2015, xbytor, Adobe Systems, Inc.

// 2011-03-21

// Written by xbytor@gmail.com

//

// 03/13/2012 10:30, tpr

// tpr, this needs a lot of work to get localized,

// talk to Alice about having magic numbers localize team can use

// vs talk to X about why auto layout failed and the need for a

// major re write to use auto layout

// c2007 Adobe Systems, Inc. All rights reserved.

// Produced and Directed by Dr. Brown ( a.k.a Russell Preston Brown )

// Written by Tom Ruark and Mike Shaw

// UI Design by Dr. Brown

//

/*

// BEGIN__HARVEST_EXCEPTION_ZSTRING

<javascriptresource>

  <about>$$$/JavaScripts/ImageProcessor/About=Image Processor Pro^r^rCopyright 2012 Adobe Systems Incorporated. All rights reserved.^r^rProcesses multiple input and output files.^rNOTE:It's better than the Image Processor!</about>

  <category>DrBrown</category>

  <name>$$$/JavaScripts/ImageProcessor/Name/ImageProcessorPro=Image Processor Pro...</name>

  <menu>automate</menu>

  <eventid>611736f0-9c46-11e0-aa82-0800200c9a66</eventid>

  <terminology><![CDATA[<< /Version 3.2

    /Events <<

       /611736f0-9c46-11e0-aa82-0800200c9a66 [($$$/JavaScripts/ImageProcessor/Name/ImageProcessorPro=Image Processor Pro...) /imageProcessorProSettings <<

           /ImageProcessorProSettings [(ImageProcessorPro Settings) /typeText]

           /Msge [(Message) /typeText]

         >>]

     >>

   >>

]]></terminology>

</javascriptresource>

// END__HARVEST_EXCEPTION_ZSTRING

*/

JJMack

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 Beginner ,
May 30, 2017 May 30, 2017

Copy link to clipboard

Copied

LATEST

Thank you for this, never thought of using the actions panel.

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