Running a jsx script with AppleScript in Photoshop using do javascript
Hi everybody! I just wrote a script in javascript for Photoshop and it works perfectly. I just wanted to implement an action in automator that opens Photoshop and runs this script. I tried to run an Applescript but I spent hours with the function "do javascript..." following the reference on javascript for Photoshop without success. I dont know if its a problem of syntax or its not the good function. I precise that this only line worked :
do javascript "alert(1)". And it showed 1, but no way to run my script. Even "do javascript "alert("Hello World") " doesnt work. Any help is welcome !
ps: Im a beginner!
