CurrentScriptPath

Returns the path to the current running script.

Pascal

function CurrentScriptPath: String;

Python

def CurrentScriptPath() -> string

Example Pascal

   AddToSystemJournal(CurrentScriptPath);