8.11.2 CancelStartUp (cancel automatic startup for a script file)
- Purpose
-
Cancels automatic startup for a script file.
- Syntax
CancelStartUp ([FilePath])
- Argument
-
- FilePath
-
Specify the full path of the script file as a character string, or as a variable that stores this value. The file extension .SPT is appended automatically if omitted.
This value is optional. If you omit this value, automatic startup is canceled for all the script files that have been registered to start automatically.
- Description
-
The CancelStartUp command cancels automatic startup for a specified script file. The command returns True on successful execution, or False if an error occurs.
True is always returned if you specify a non-existent script file, or if there is no automatic start setting in the execution environment file for the specified script file.
- Example
' Cancel automatic startup for all script files one hour ' after this script file is activated. Sleep (60 * 60 * 1000) CancelStartUp ()
- JP1/Script version
-
Supported from JP1/Script 05-10.