Application.GetDialogScript

string Application.GetDialogScript ( 

string DialogName,

string EventName )

Description

Returns a string containing the script from a dialog's event.

Parameters

DialogName

(string) The name of the dialog whose script you want to get.

EventName

(string) The name of the event whose script you want as it appears in the script editor dialog. For example "On Show".

Returns

(string) The dialog's script for the specified event. If an error occurs, an empty string ("") is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also:  Related Actions