WiseScript Package Editor Reference
117
WiseScript Actions
Set Current Control
This action appears only when you are in a dialog box script.
This action sets a control to be the current control in a dialog box. The current control is
the one to which keyboard operations apply. (Example: If the OK button is the current
control, and you press Enter, the OK button is activated.) Controls without names cannot
be manipulated with this action.
To access this action
1. Double-click a “Custom Dialog” line in the script.
The dialog box appears in the Custom Dialog Editor.
2. Select View > Dialog Script Editor.
A smaller list of actions appears in the Actions list, including this action.
3. Double-click Set Current Control.
Control Name
This contains all controls in the current dialog box. Select a control to set as
current.
Use the Dialog Editor view (which shows the dialog box) to see or change the
name of controls. To name a control, right-click the control, select Control
Properties, and, in the dialog box that appears, enter a name in the Control
Name field.
Set File Attributes
This action sets the attributes of one file or a group of files.
To complete the dialog box
z
File Pathname
Specify a file to change (example: %MAINDIR%\Acrobat.pdf). You can use
wildcards to specify multiple files (example: %MAINDIR%\*.pdf).
z
Read Only / Hidden / System
Mark the attributes to set.
z
Scan Directory Tree
Mark this to apply the changes to all files in the specified directory, along with all
files in its subdirectories and their subdirectories.
z
Archive
Mark this to set the archive attribute, which is used by some backup programs.
Set Files/Buffers
This action sets the FILES= and BUFFERS= lines in Config.sys. If either is currently
lower than the minimum specified in this action, it is increased to the specified value. If
either is already greater than the minimum specified in this action, it is not changed.