Skip to main content
SteveStrop
Known Participant
Aug 14, 2019 2:09 PM UTC
Question

How do I run a Bridge jsx script from the command line

I know that using (e.g.) After effects I can type something like:

afterfx.exe -r "c:\myDocuments\Scripts\Script Name with Spaces.jsx"

to run the Name With Spaces jsx file from the command line.

However, it doesn't seem to work for Bridge:

"C:/Program Files/Adobe/Adobe Bridge CC 2019/Bridge.exe" - r "C:/Users/UserName/Documents/temp/sample_com.jsx"

just opens bridge and doesn't call my script.

How do I run the sample_com.jsx from the command line?

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Sahil.Chawla
Adobe Employee
Adobe Employee
Aug 14, 2019 8:46 PM UTC

Hi Steve,


Could you please check this article and let us know if it helps?

http://docs.aenhancers.com/introduction/overview/#running-scripts-from-the-command-line-a-batch-file-or-an-applescript-s…

Regards,
Sahil

Translate
SteveStrop
Known Participant
Aug 15, 2019 11:04 AM UTC

Yes, I had looked at that previously. It turns out the problem was not including a

#target bridge

at the start of the script

Translate