WiseScript Package Editor Reference
165
WiseScript Actions
Get Environment Variable
This action puts the value of a Windows environment variable into a WiseScript variable.
To complete the dialog box
z
Env. Variable
Enter a Windows environment variable.
z
Variable Name
Enter a variable to store the value of the environment variable.
z
Default Value
(Optional) Enter the value to store in the variable if the environment variable is not
found.
z
Remove File Name
Mark this to remove a file name from the end of a returned path, leaving only the
directory name. This operation is not performed on the Default Value.
To run a batch file or other application in a DOS window, use Get Environment Variable
to put the value of ComSpec (path to command.com) into a variable (example: put it in
%COMMAND%). Then use the Execute Program action to call command.com by entering
%COMMAND% in the EXE Path field. Specify the file to open in the Command Line
field. Add the /c command-line option to cause the command-line window to close when
your program finishes execution.
Get Name/Serial Number
This action displays a dialog box that requests the end user’s name, company name,
and a product serial number.
It provides backward compatibility with older WiseScripts. In new scripts, use the
Branding / Registration dialog box on the Dialogs page (WiseScript Package Editor only).
To complete the dialog box
z
Title
Enter the title for the dialog box.
z
Description
Enter text to explain the dialog box to the end user.
z
Name Prompt
Enter text to appear next to the Name field.
z
Company
Enter text to appear next to the Company field.
z
Serial Number
Enter text to appear next to the Serial Number field.
z
Variable
In the three Variable fields, enter the variables to store the Name, Company, and
Serial Number.
z
Confirm Text
(Optional) Enter text to be displayed in a separate dialog box to confirm
registration. If this is blank, no confirmation dialog box appears.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...