Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.19 KB

AlertSetAlwaysDoVal.md

File metadata and controls

52 lines (42 loc) · 1.19 KB

AlertSetAlwaysDoVal

Description

Set the 'always do' value for the AlertQuestionDontShowAgain and AlertInformDontShowAgain standard dialogs.

PROCEDURE AlertSetAlwaysDoVal(
				category : STRING;
				item     : STRING;
				value    : INTEGER);
def vs.AlertSetAlwaysDoVal(category, item, value):
    return None

Parameters

Name Type Description
category STRING category name of the value.
item STRING item name in the category.
value INTEGER new value for the default. Pass in -1 for the entry to be cleared out and the dialog to show up again.

Examples

BEGIN {User Clicked No}
AlertSetAlwaysDoVal(Options[1],Options[2],-1);
END;
import vs

# Set the 'always do' value for the AlertQuestionDontShowAgain and
# AlertInformDontShowAgain standard dialogs.
category = 'Example'
item = 'Example'
value = 1

vs.AlertSetAlwaysDoVal(category, item, value)

See Also

VS Functions: AlertQuestionDontShowAgain | AlertInformDontShowAgain

Version

Availability: from Vectorworks 2012

Category