app.enableDialogs
| Syntax |
app.enableDialogs (flag)
|
| Params |
flag is a boolean indicating whether you want dialogs to be enabled or disabled.
|
| Action |
Dialogs are normally enabled, call this verb to disable them, or re-enable them after disabling. If the flag is true, dialogs will appear when an error happens when opening or saving a file, for example. If the flag is false, subsequent dialogs will be disabled, verbs will return with no interaction required by the user.
|
| Returns |
Returns a boolean, the value of the enable-dialogs flag before it was set. You can use this value to restore the value of the flag after setting it.
|
| Examples |
app.start ("MinApp"); app.enableDialogs (false); app.alertDialog ("Hello!") » true
app.getErrorString ()
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
This verb is useful for programming applications that are intended to run on an unattended Macintosh.
|
| See Also |
app.getErrorString
|