6 Replies Latest reply on Apr 6, 2018 4:44 PM by r-bin

    Pathing issue with an auto export script.


      Newb here, I'm writing a script for others to increment a layer in photoshop then export the photo before repeating. My thought to make it work on everyones system was to just dump the exported photos into C:, however, that's throwing an error 'target address unknown' whenever I run it. Is it possible to do relative addressing in JS? So wherever the script is located will be where the photos export to. If not I'd still like to throw it into the C: drive, I'm pretty sure the error is in how I formatted the address in line 5. Any tips? Thanks.

      Code: https://pastebin.com/iWdh4dSh