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

Running on Apple Silicon

Open chrisQ-San opened this issue 1 year ago • 1 comments

I am having trouble running this extension on a M3 Macbook Pro.

  • The readMe link to the vsCode extension takes me to a 404 page
  • It works on my intel mac but when syncing my extensions to my M3 the Adobe-Script-Runner doesn't show up
  • I'm not familiar with how to install this manually without a VSIX, which I didn't see.

With that said, is this extension compatible with the apple silicon? If so, are there different instructions to install?

chrisQ-San avatar Mar 29 '24 22:03 chrisQ-San

Me too! @chrisQ-San have you been able to work things out?

Phando avatar Apr 25 '24 15:04 Phando

Apologies for the delay... @Phando I've resorted to opening vsCode with Rosetta:

  • quit vsCode > Applications folder > right-click vsCode > select Get Info > check “Open using Rosetta” checkbox

Keep in mind, this will make vsCode run slower but allows you to use this extension.

chrisQ-San avatar Nov 15 '24 16:11 chrisQ-San

Sorry, but the extension has been removed from Marketplace a few years ago due to legal issues regarding extension name. However, you can always find the latest VSIX version in the repository's Releases section.

Re: not working on Apple Silicon CPUs. I am investigating this issue as well. However, If you feel adventurous, you can try modifying the extensions execution command in the /Users/YOUR_USER/.vscode/extensions/rendertom.adobe-script-runner-0.6.0/lib/hostApps.js file. Just do the following changes:

// change this
darwin: `osascript -e 'tell application id "com.adobe.AfterEffects" to {activate} DoScriptFile "{scriptFile}" with override'`,

// to this
darwin: `osascript -l JavaScript -e "ae = Application('com.adobe.aftereffects'); ae.activate(); ae.doscriptfile('{scriptFile}');"`,

rendertom avatar Dec 07 '24 11:12 rendertom