Suppress "Stop" dialogs during doAction

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

mvadu

Suppress "Stop" dialogs during doAction

Post by mvadu »

I have a batch script, which gives an option to user to select an action.
I am just showing actions already present in user's photoshop, I am not distributing actions.
So I am using doAction method instead of whole actiondescriptor method.
Code: Select alldocRef.suspendHistory(this.actionName,"doAction(this.actionName,this.actionSet)");

Some of the default actions (like 50px wooden frame) have "Stop" messages which will prompt user to select "Continue" or "Stop". I want to continue the actions all the time. How do I suppress those dialogs? (equivalent of clicking on Toggle dialog on/off in actions palette through javascript)

I tried to avail nothing.
Code: Select allapp.displayDialogs = DialogModes.NO;