Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

Call Photoshop Action from other APP?

$
0
0

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.

 

 


Viewing all articles
Browse latest Browse all 54282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>