Skip to content

ScriptName()

ts
function ScriptName(): string;

This function returns the name (short description) of the script currently being run.

Example

ts
{
  var snam = ScriptName();
  Log(snam); // will log (for example): Send email notification
}