VSCode-Adobe-Script-Runner icon indicating copy to clipboard operation
VSCode-Adobe-Script-Runner copied to clipboard

Doesnt work as simple as stated in details [OSX][PS]

Open schroef opened this issue 3 years ago • 2 comments

I tried this extension again and believe i had it working fpr AE. Today tried it again and launching it didnt do anything with PS 2018cc, then checked settings and noticed app paths were set to Windows paths. Changed that and tried both app path as well as the path of the Unix file inside the app. Both return error "Could not find target file "../../index.js" Im simply trying a "hellow world" alert from a JSX file. This file is saved on a USB drive.

Another point, the details state it can run on unsaved docs, tried that and doesnt do anything for me. No error, nothing.

Tried disable and enable still nothing

schroef avatar Jan 07 '21 20:01 schroef

Duhhh...

a case of RTFM! it works on the simple hello world test. I was trying a script with a dialog and it doesnt run that somehow. So i reverted to the simplest form of testing it.

Do you have understanding with it bypasses a dialog prompt?

schroef avatar Jan 07 '21 20:01 schroef

Apologies for a 6 moths delay in response. As you can see I am not too active here anymore.

  • Re: changing the paths in settings: you should only change Windows paths if you're actually running the script on Windows. Changing these paths when you are working on Mac will have no effect.
  • Re: error "Could not find target file "../../index.js" sounds like you have Adobe-script-runner '../../index.js' line somewhere in your code. You add this line only when you need to execute some other file, and not the one int the active viewer. Read about it here: token
  • Running files off of the USB - I haven't tested this, but I don't see how this could work differently.
  • Re: dialog - sorry, no idea.

If you have any more issues, please let me know.

rendertom avatar Jun 06 '22 16:06 rendertom