6 Replies Latest reply: Jan 21, 2014 12:42 PM by Gonterman1201 RSS

    Call Photoshop Action from other APP?

    NeilX Community Member

      Hi Everyone,

       

      Anybody has any experience to run any Photoshop action using a binary .EXE file?

       

      For example, I want to let Photoshop execute a filter action from my own application?

      I know that DROPLET can do this, what I did is that I use System("Droplet.exe somefile") to launch the Photoshop action. However, I got enough trouble doing this with the UAC of Windows7, there're intermittently "Droplet couldn't communicate with Photoshop" error showing up, and UAC always prompt you the warning message. I tried lots of ways "Run as Administrators" etc, but the error shows again even though the previous time it worked!

       

      Finally, I think it's time to give up droplet and thinking of other way of doing this.

      I just simply want a ".exe" or something that can let my application tell Photoshop to run a simple action (with no parameters). I'm not sure whether PostMessage/SendMessage can do this or not on Windows. If anybody has any idea, please let me know.

       

      Thanks in advance!

       

       

      By the way, I also learned that Photoshop API is not thread safe, so that an "inception thread" of a plugin in the Photoshop causes unpridictable crashes, and you cannot do that in a separate thread.