WiseScript Editor Reference
103
WiseScript Actions
z
Skip write permissions test
If you selected Save As for Dialog Type, and you clear this check box, the
installation tries to create the file that the end user specified in the Save As dialog
box to verify write permissions. If you mark this check box, the installation does not
try to create the file.
z
Do not validate the pathname
Mark this to accept any path without any validation.
z
Display prompt if overwriting existing file
Mark this to display a message if a file selected by the end user already exists.
Prompt for Text
This action displays a dialog box that lets an end user enter a line of text. Optionally,
you can treat the entered text as a path and do verification on it. It is included to
provide backward compatibility for older WiseScripts. In new scripts, use custom dialog
boxes or dialog box controls to perform the same function.
To complete the dialog box
z
Window Name
Enter the title for the dialog box.
z
Description
Enter brief instructions here.
z
Prompt Name
Enter the label to be displayed next to the text input field.
z
Default Value
Enter the text to be displayed in the text input field by default.
z
Variable Name
Enter a variable to store the text entered by the end user.
z
Directory
Mark this to delete trailing backslashes from the text, so you can use it as a
directory path.
z
Confirm If Exists
If this check box is marked, and the end user enters the path of an existing file or
directory, a dialog box asks whether to overwrite.
The sample scripts Adding.wse, Comcat$.wse, Division.wse, Instr.wse, Lcase$.wse,
Left$.wse, and Len.wse use this action. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
Radio Button Dialog
This action displays a dialog box with up to 10 radio buttons. It provides backward
compatibility with older WiseScripts. In new scripts, use custom dialog boxes and dialog
box controls to perform the same function.
To complete the dialog box
z
Title
Enter the title for the dialog box.