WiseScript Package Editor Reference
185
WiseScript Actions
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.
z
Dest. Variable
Enter a variable to store the letters corresponding to the button the end user
clicks.The button clicked by the end user is returned as a letter: A for the first radio
button, B for the second, and so on. If the script sets this variable to a letter before
this action runs, the corresponding button appears selected by default.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...