OverviewExamples
Sets the script on a dialog's event.
(string) The name of the dialog whose script you want to set.
(string) The name of the event whose script you want to set, as it appears in the script editor dialog. For example "On Show".
(string) The script to assign to the specified dialog's event.
Note: The script specified in this argument will replace any script existing in the event. If you want to append to the event (instead of replacing the script), you must first perform an Application.GetDialogScript action.
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions