rendertom / VSCode-Adobe-Script-Runner

Run Adobe scripts from VSCode
https://marketplace.visualstudio.com/items?itemName=renderTom.adobe-script-runner
87 stars 15 forks source link

Extension not working in InDesign CC 2019 on Windows 10 #13

Closed leonardpin-br closed 3 years ago

leonardpin-br commented 4 years ago

The extension is not working in Adobe InDesign CC 2019 (14.0.3). I keep receiving the message "Script sent to Adobe InDesign", but not happens. It does not work with Adobe ExtendScritp Toolkit either.

Inventsable commented 4 years ago

What script are you trying? Script may be silently failing due to error. Are you trying something complex, or simple like:

alert(app.name)
leonardpin-br commented 4 years ago

Thank you for the fast answer. When I commented, I was at work. There, the extension does not work in InDesign. I have just arrived at my house. Here, the extension works. I installed both at home and at the work computer. I was trying alert("Hello, World!"); Do you have any suggestions on how I can debug it? I already uninstalled the extension many times. I uninstalled Visual Studio Code too and reinstalled. Did not work.

rendertom commented 4 years ago

Could it be possible that somehow your computer is locked from running shell commands? Maybe a permission issue? The way extension works under the hood is it invokes shell command and passes the path to the file in the active viewer. So no real magic here.