Skip navigation
Currently Being Moderated

How to Communicate between Automation Plugin and Format Plugin?

Jun 6, 2013 9:18 AM

I write two plugin. one is automation plug-in,and the other is format plug-in.  I can call format plugin in automation plugin and save a file . But How could I pass some parameters from automation plug-in to format plugin? These parameters are used for save file in format plugin.


I look at the Autofilter and Hidden sample in SDK simple directory. My automation plug-in  can't pass parameters to format plug-in.


Could anyone help me ?

  • Currently Being Moderated
    Jul 17, 2013 8:06 AM   in reply to lzl1010

    I use scripting for that purpose. It means that booth automation plug-in and format (in my case selection) plugin must know how to read/write scripting parameters.

    There is a pdf   (Scripting primer.pdf) that explains how to make scripting aware plug-in in SDK documentation.

    Then you write scripting parameters from automation plug-in and read them from format plug-in and vice versa.

    You can also use read/write to/from registry for that purpose.


    Momir Zecevic

    Ars Media

    Mark as:
  • Currently Being Moderated
    Jul 17, 2013 10:20 AM   in reply to lzl1010

    It's been a while since you asked, so maybe you've solved this, but a solution that I am using is to save a temporary text file from one plugin then pull what I need from the other, this relies only on standard file handling as opposed to getting PhotoShop to handle it for you.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points