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

Silent execution #8

Closed japettyjohn closed 3 years ago

japettyjohn commented 5 years ago

For a smoother development flow I think, optionally if nothing else, that the command for the apps does not activate the window.

This can be achieved on macOS by removing 'activate' from the darwin commands.

I've started this on my fork.

What I was not able to do so far was get the output from the script into the console. If you execute the command manually from the command line, without activating the target window, the last value in the script will be output in the console. This will also be better aligned with InDesign Server automation which works the same way with it's SOAP calls.

This is far better than alert boxes.

rendertom commented 4 years ago

Hey @japettyjohn. Thanks for the suggestion. I've implemented an option to run in silent mode. But I am not sure how to go about printing the output to the console.