Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

framelessDialog [-button string] [-message string] [-parent string] [-path string] [-primary string] [-title string]

framelessDialog is undoable, NOT queryable, and NOT editable.

The framelessDialog command creates a modal dialog with a message to the user and a variable number of buttons to dismiss the dialog. The dialog is dismissed when the user presses any button or chooses the close item from the window menu. In the case where a button is pressed then the name of the button selected is returned.

Return value

stringIndicates how the dialog was dismissed. If a button is pressed then the label of the button is returned.

Flags

button, message, parent, path, primary, title
Long name (short name) Argument types Properties
-button(-b) string createmultiuse
Create a button with the given string as it's text.
-message(-m) string create
The message text appearing in the dialog.
-parent(-p) string create
Specify the parent window for the dialog. The dialog will be centered on this window and raise and lower with it's parent. By default, the dialog is not parented to a particular window and is simply centered on the screen.
-path(-pat) string create
An optional path appearing after the message.
-primary(-pr) string createmultiuse
Set given buttons as primary.
-title(-t) string create
The dialog title.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

framelessDialog;

framelessDialog -title "Confirm"
	-message "File not found"
	-path "c:/path/of/file/not/found.txt"
	-button "Cancel" -button "OK" -primary "OK";