PhotoShop CS5 - set display dialogs to never doesn't work for me

I try the following code from the Adobe PS CS5 Applescript Scripting Reference:
tell application “Adobe Photoshop CS5”
set display dialogs to never

And I get an error for the second line. Can’t set display dialogs to never.
Why and how to I do to skip all dialogs when running my script?

Thx!

Hi,
try to use this one:

set properties to {display dialogs:never}

Greets from
TMA

Thanks a lot! That worked fine! :slight_smile: