Skip to main content
bagonterman
Inspiring
January 7, 2013
Answered

Anything similar to app.doScript in bridge?

  • January 7, 2013
  • 1 reply
  • 1013 views

I am trying to run a script from a button pressed in a palette. app.doScript does not work in Bridge.

This topic has been closed for replies.
Correct answer Paul Riggott

To run a script ...

$.evalFile (File("~/myScript.jsx"));

1 reply

bagonterman
Inspiring
January 7, 2013

I see scheduleTask() but I do not want to delay the task I just want the script to run.

Paul Riggott
Paul RiggottCorrect answer
Inspiring
January 7, 2013

To run a script ...

$.evalFile (File("~/myScript.jsx"));