Skip to main content
SteveStrop
Known Participant
August 14, 2019
Question

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

  • August 14, 2019
  • 1 reply
  • 1564 views

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 has been closed for replies.

1 reply

Sahil.Chawla
Adobe Employee
Adobe Employee
August 14, 2019

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

SteveStrop
Known Participant
August 15, 2019

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

#target bridge

at the start of the script