Skip to main content
Participating Frequently
September 14, 2011
Question

How can I silence the "You are about to run a script" dialog?

  • September 14, 2011
  • 2 replies
  • 699 views

I'm invoking a Photoshop script by double-clicking on the .jsx file. I get a "You are about to run a script in Adobe Photoshop CS5. You should only run scripts from a trusted source. Do you want to run the script?" dialog.

Is there any way to not have this dialog come up? Like in the preferences, tell Photoshop I'm cool with users double-clicking on scripts to launch them?

Thanks!

F

This topic has been closed for replies.

2 replies

c.pfaffenbichler
Community Expert
Community Expert
September 15, 2011

Is there a reason you won’t put them in the Presets/Scripts-folder to start them from Photoshop’s File > Scripts (or assign them Keyboard Shortcuts etc.).

Participating Frequently
September 15, 2011

c.pfaffenbichler wrote:

Is there a reason you won’t put them in the Presets/Scripts-folder to start them from Photoshop’s File > Scripts (or assign them Keyboard Shortcuts etc.).

Yep- the user is not invoking the script from within Photoshop. It's being run from outside Photoshop. I think the

displayDialogs = DialogModes.NO

setting was the trick. Thanks for your suggestions.

-f

Tom Ruark
Inspiring
September 14, 2011

Put them in <username>/Documents/Adobe Scripts