enum CTScript::Parameter

NameValueDescription
INPUT_FILE1Deprecated
OUTPUT_FILE2Deprecated
INPUT_CONSOLE3Deprecated
OUTPUT_CONSOLE4Deprecated
USER_PROMPT5If the script requires resources that it doesn't have permission for, TScript will prompt the use and ask for the resource. Is there's no user, it'll block the script indefinitely. If this parameter is specified, then the script will not prompt the use and just return an error.
ERROR_EMAIL6Deprecated, use SendEmail.ts library instead
ERROR_VARIABLE7Deprecated
LIBRARY_DIRECTORY8This parameter is the directory pathway for the script to search to find any #included script.
SAVE_COMPILE10This is still incomplete, but will allow the system to pre-process scripts and store them for quick retrieval. The name give to any compiled TScript (*.cts) file.
SOURCE_FILE11The source files for this executing script.
SOURCE_STRING12The string parameter has the source code to compile without requiring to go via the file system.
DEFAULT_RUN_METHOD13The static method to be called, the default is 'main' and this will change it.
LAST_ERROR14Get last error will return information regarding the last error the script ran into.
SOURCE_VERSION15If compiled into a compile TScript (*.cts) file, it will have this version.
RESOURCES_PROMPT_USER16Deprecated.
FILETIME_FORMAT17This default format for printing a filetime variable.
DATE_FORMAT18This default format for printing a date variable.
LOCAL_TIMEZONE19Allows the setting of a local time, overriding the local machine's local time and can force UTC for example.
REGISTRY_READ20Don't know about this one. This is Windows specific and not very useful.
REGISTRY_WRITE21Don't know about this one. This is Windows specific and not very useful.
WORK_PATH_READ22Allows the script to read from a specified directory.
WORK_PATH_WRITE23Allows the script to write to and read from a specified directory.
TEMP_PATH_WRITE24Allows the script to write to and read from the system temp directory. This will change depending on which user is running the script. You can all System::GetTempPath() to find out where it is.
ALL_PATHS_READ25This will fallback on the system level permissions and allow the script to read whatever files the current user can access.
ALL_PATHS_WRITE26This will allow the script to read and write whatever files the current user can access contorled by the system level permissions.
ALLOW_SOCKET_CONNECT27This will allow the script to access resources over the internet.
ALLOW_SOCKET_BIND28Don't know about this one. Using script to create a service is not the best method. Just leaving it here for future use.
ALLOW_SOCKET_DOMAIN29Again, I don't know about this one. I don't know the difference between this one and ALLOW_SOCKET_BIND
ALLOW_LOAD_DLL30Allows the script to load DLL on Windows or SO on Linux. The script needs read permission to the directory or library file.
ALLOW_LOAD_COM31Don't know about this one. Just reserved for future use, but only if Microsoft updates the COM API for 64bit, otherwise it's really useless.
PREPROCESSOR_DEFINITION32In order to link to a DLL, a C++ header file is needed to specify the API and this allows for the preprocessor switches to work.
PARENT_CONTEXT33For callback functions, this allows parameters to be passed from the parent context, through the script and be read by the callback fuction.
PARENT_PARAMETER_134For callback functions, this allows a general parameters to be passed from the parent context, through the script and be read by the callback fuction.
PARENT_PARAMETER_235For callback functions, this allows a general parameters to be passed from the parent context, through the script and be read by the callback fuction.
PARENT_PARAMETER_336For callback functions, this allows a general parameters to be passed from the parent context, through the script and be read by the callback fuction.
ADD_STATIC_CALLBACK_METHOD40Allows for a callback functions to be added to the script. See SetParameter for more information.

Also See

GetParameter, SetParameter