If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

how to run a js file after launching photoshop

Hi all

I am just curious to how I go about running a javascript file after opening photoshop. The plugin Joseph made that sends renders to photoshop is a good example. I am assuming you will have to do a dll file but not to sure how to go about it in a clever and multi OS way.

I think that plugin is using the ZFileUtils dynamic library to open the file with the default application (JSX files need to be set to open in Photoshop CC by default). So you would use the LaunchAppWithFile function but without specifying the application: