1. #1
    Senior Member Follow User Gallery
    Join Date
    Jun 2011
    Location
    Cape Town
    Posts
    158

    Default 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.

    Any suggestions will be really helpful.

    Thanks

  2. #2
    Moderator Follow User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    11,462

    Default

    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:

    http://docs.pixologic.com/user-guide...ils/#launchApp

  3. #3
    Senior Member Follow User Gallery
    Join Date
    Jun 2011
    Location
    Cape Town
    Posts
    158

    Default

    Thanks Marcus, was definitely heading in that direction. Will give that a shot most definitely!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •