Use with: |
Startup scripts, Terminal Launcher, Web, and Windows |
SecureLogin version: |
All |
Type: |
Flow Control |
Usage: |
Increment variable Decrement variable |
Arguments: variable |
The name of the variable used to control the count process. |
Description: |
Counts the number of passes a particular script has made. After the number of instances is equal to the specified number, you can instruct the script to run another task or end the script. This instruction can be particularly useful in the following situations: - When you configure an application whose login panel is similar to other windows within the application.
- To easily control the number of attempts a user can have to access an application.
|
Syntax examples: |
Increment ?RunCount Decrement ?RunCount |
Example: |
Dialog Title "Login" Ctrl #1 EndDialog Increment ?RunCount If ?RunCount gt 5 MessageBox "You have attempted too many logins. The session will be terminated." KillApp login.exe EndIf
|