Creating interactive scripts

In many cases, when you are creating a script, you do not have all of the information required to run the script. For example, your script may require a password that is specific to the user running the script, or it may analyze an ACL table which needs to be selected by the user.

Interactive scripts differ from standard scripts in that the execution of the script pauses, and cannot continue until the required information is provided by the user running the script. Interactive scripts can prompt users to specify tables, files, or parameter values, or specify the analysis steps to perform. Whenever possible, you should place all interactive dialog boxes at the beginning of the script so that the remainder of the script can be processed without interruption.

ACL provides the following three ACLScript commands you can use to make your scripts interactive, depending on your requirements:

For information on the syntax for these commands, see the ACL Language Reference.

Section contents

Related reference
ACCEPT command
DIALOG command
PASSWORD command


(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback