Declaration: ScriptFName: string;
Returns the full filename specification (path+filename+extension) of the currently running script. Please note that a script needs not be necessarily installed in the script directory, it can also reside in a subdirectory of the script directory. Thus the path obtained from ScriptFName may be different from the script directory.