0

Execute photoshop jsx script in tank photoshop publish app

Hi

Has anybody managed to execute a photoshop jsx script while publishing via the tank photoshop publish app?

I have tried executing the following in a hook

try:

subprocess.check_call(["C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe", <jsx script>])

except:

pass

 

But it seems to execute after the publish to shotgun has completed. I am executing pass statement in the exception handler since photoshop exits with a non zero exit status(which leads to a CalledProcessError exception) even when there were no errors while executing the jsx script. 

Thanks in advance.

 

Cheers

Samsher

2 comments

  • 0
    Avatar
    Shayna Duguid

    Hi Samsher!

    Thank you so much for posting to the forum. Would it be alright if I redirect this forum to our Tank support forum and site? We can keep this forum updated as well, but it would be great to post your question and future dialogue to the Tank community as well.

    Cheers,

    Shayna

  • 0
    Avatar
    Shayna Duguid

    Hi Again! I've posted your question to our Tank community forum, and it can be viewed here. Thanks again for using our forums!

Please sign in to leave a comment.