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

Run beta versions on Mac #20

Closed mrspartak closed 2 years ago

mrspartak commented 2 years ago

My use-case is that I'm using the beta version of After Effects on Mac. But the code runs in a normal version. Is there a way to set up a program path for Mac?

rendertom commented 2 years ago

Hey there. This sounds as a good PR. Meanwhile, you can manually modify the hostApps file to target beta version of the app. I know it's not perfect, but it is what it is.

Find the hostApps file here: /Users/YOUR USER NAME/.vscode/extensions/rendertom.adobe-script-runner-0.5.0/lib/hostApps.js and then modify the 5'th line of code: <...>"com.adobe.aftereffects"<...> into <...>"com.adobe.aftereffectsBeta" <...>. This should do the trick for now.

mrspartak commented 2 years ago

Hey, that's exactly what I did for now. I don't know much about the extension structure, but I'll take a look later, maybe there is an easy way to do this

rendertom commented 2 years ago

I'll have this implemented in the next release

rendertom commented 2 years ago

Implemented in https://github.com/rendertom/VSCode-Adobe-Script-Runner/commit/4def7e6233f27e0c4212f168ab48c647a7a00b89