rendertom / vscode-adobe-script-runner Goto Github PK
View Code? Open in Web Editor NEWRun Adobe scripts from VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=renderTom.adobe-script-runner
Run Adobe scripts from VSCode
Home Page: https://marketplace.visualstudio.com/items?itemName=renderTom.adobe-script-runner
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.
Intellisense is needed similar to that of Extendscript toolkit.
This seems to be broken on Windows.
Hi, thank you for this wonderful extension !
I'm trying to replace the "Extendscript debugger" extension with yours, because I like the fact that yours does not bring the app (Indesign Mac in my case) to the front. But I'd like to get my scripts output to the VSCode debug console (or somewhere else !). Do you have any idea about this ? Is there a file somewhere in my mac that contains these logs ?
Have a nice day
Changes are not being registered until VSCode restart.
On Windows 10, whenever I use ExtendScript ToolKit to run my script, the After Effects window does not get focus and remains exactly in its current location. This is preferable.
However, when I use this tool, the Window always gets resized for some reason, but only if the AE window is snapped. Here's a screenshot with before running and after running using this tool in VS Code:
BEFORE:
https://i.imgur.com/81NhqLA.png
AFTER:
https://i.imgur.com/ylp3Pkb.png
Notice how the window resized itself. If my AE window is either full screen (maximized) size or snapped to the left or right, this happens. It does not happen otherwise. Is there any way to prevent it from resizing itself when the window is maximized?
I don't know if it's available for windows 11 but i tried and at the command pallete it didn't recognize "Adobe after effects". Is this code supported for windows11?
Great extension! Would it be possible for you to add support for Premiere Pro (especially for mac)?
I am having trouble running this extension on a M3 Macbook Pro.
With that said, is this extension compatible with the apple silicon? If so, are there different instructions to install?
hi,
on pc, I Modified keybingdings.json,"command": "adobeScriptRunner.psd".
I try this, F1 -> adobe photoshop, run photoshop success.
but, ctrl + r, it still run after effect.
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.
Would be nice if this extension could also send over .idjs files (InDesign JS) instead of just .jsx. Thanks for such a nice tool!
Remember that an idjs file is a mere JavaScript file with a special extension to identify it as a UXP script for InDesign.
Is there a way to run exacute script-runner from command line? I would like to run it from gulp.
since I installed AE 2020, I can no longer write code in VS and convert directly to AE.
Here is the error message :
Running the contributed command: 'adobeScriptRunner.ae' failed.
I checket the Contributions and adobeScriptRunner.winAfterFxExe. Both corecctly instaled!
It work without problem in AE 2019. As soon as I delete AE 2019, it stops working and I get this message
Thanks
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?
I'm trying to figure out if it's possible to trigger a script from Node.js using Adobe Script Runner?
It fails to send the script to Photoshop with an error saying it can not find the Photoshop file.
But I have the path put in the setting:
"adobeScriptRunner.winPhotoshopExe": "C:/Program Files/Adobe/Adobe Photoshop CC 2020/Photoshop.exe"
I'm not sure if it's some Win10 security thing?
However, I figured out a workaround: made a .lnk file pointing to the Photoshop.exe, then use the path of that .lnk file for the Runner's setting.
It works!
In https://github.com/rendertom/VSCode-Adobe-Script-Runner/blob/master/lib/hostApps.js
you use the '-r' key (win32: "{appExe}" -r {scriptFile}
)
What is this key for? It seems that the script runs perfectly without a key.
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
I've tried to add psuserconfig code, but it doesn't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.