Skip to main content

ThisInfo

Returns info about the current script

Syntax

ThisInfo info_to_receive

Returns

collection value or text value or duration value

Arguments

NameRequiredTypeDescription
info to receiveYesOne of the following options:
> flags
> caller (The name of the script that called this script)
> context (Returns a RunReason enum value)
> duration (The amount of time the script's been running for)
> name
> path (The path to the script on the local directory of the server)
> variables (Returns a CollectionValue containing the names of all the variables in the script)
Options: flags, caller, context, duration, name, path, variables

Validated examples using this method

On a running server

Use serhelp ThisInfo to inspect the reference generated by your installed SER version.