Search code examples
applescriptphotoshopphotoshop-script

Applescript hide prompts in photoshop


Anyone know if there is a command to hide prompts in applescript. I know in Illustrator you use the following:

tell application "Adobe Illustrator"
    set user interaction level to never interact
    set user interaction level to interact with all
end tell

Solution

  • In Photoshop CS5, you can do this:

    tell application "Adobe Photoshop CS5"
        set display dialogs to never
    end tell
    

    To turn dialogs back on, use:

    tell application "Adobe Photoshop CS5"
        set display dialogs to always
    end tell