6 Replies Latest reply on Aug 6, 2013 8:32 AM by Muppet Mark

    Change Color Label of File with Javascript

    mkeatley17

      I need to be able to run a JS script from within Photoshop and when it's complete, change the color of the file in Finder to indicate it has been processed.  I'm talking about the red, orange, yellow, etc. highlights you can give the files in Finder.

       

      I know how to change these file colors in Applescript.  But I cannot figure out how to initiate the process from JS when run inside Photoshop.

       

      So I was curious if there was:

       

      A.  A way to run an Applescript from Javascript

       

      or

       

      B.  A way to define the property of a file from JS such that Finder would interpret it into a color highlight?

       

      Any ideas?

      Thanks