TatCustomScripter.CurrentScript Property
Gets or sets the currently selected (or currently executing) script in the Scripts collection.
Remarks
CurrentScript returns the current selected script among the available scripts in the Scripts collection. When the scripter is running, CurrentScript contains the current script object that is being executed. It might change from time to time depending on the calls inside the script source code: if the current script calls functions and procedures in another script, the current script changes when the subroutine is executed.
Syntax
Unit: atScript
property TatCustomScripter.CurrentScript: TatScript