Prompt For Filename - Symantec WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0 Manual

Hide thumbs Also See for WISESCRIPT EDITOR 7.0 SP2 - FOR NS V1.0:
Table of Contents

Advertisement

Prompt for Filename

WiseScript Editor Reference
Text to Post
The text to post should be one or more lines in the format:
field=data
where field is the name of the field as it is expected by the CGI program, and data is
the data to be sent in that field. If a line does not appear to contain a field name
followed by =, it is assumed to be a continuation of the previous line, and the data
on the two lines is concatenated and sent with a single field identifier.
The field names might be the same as variable names, but they do not have to be.
You include variables enclosed in % in the text to be posted. Use %% to send an
actual % symbol.
Error Handling
Specify how to handle errors in the posting operation.
Ignore Errors
The script continues regardless of any errors.
Abort Installation
The installation stops if the post cannot be completed.
Start Block
The Post to HTTP Server action begins a conditional block. The statements
between this action and the next End statement are executed only in the event
of an error.
This action prompts the end user to select a file using a standard Open or Save dialog
box. The complete path of the file or directory is returned in a variable. (Example: Use
the returned directory to set the installation directory for a subset of files.) No file is
actually opened or saved by this action. This action 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. This action requires an End Statement,
because it begins a block of statements, similar to an If Statement.
To complete the dialog box
Dialog Type
Select Open File or Save As.
Dialog Title
Enter the title for the dialog box.
Dest. Variable
Select or enter a variable to store the path of the file or directory the end user
selects.
Default Extension
Enter the extension to append to the file name if the end user does not enter one.
Filter List
Enter the file types to appear in the Files of Type drop-down list in the Open or
Save dialog box. Use Shift+Enter to enter a carriage return in this field. Example: to
show text, .JPGs and bitmaps, enter:
Text Files (*.txt);*.txt;
Pictures (*.jpg);*.jpg;
79

Advertisement

Table of Contents
loading

Table of Contents