I am trying to find a way to add the name of a script to the report created by the script. This means that I need to get a text string of the script name at some point. I can that the script file directory:
sDir=Get Default Directory();
and the files within that directory:
lFiles=Files In Directory(sDir);
But I haven't found a way to get only the file name I get is of the script I am currently running. The problem is that when finding a saved report later, I want to know exactly which script was run to produce said report.
Please help.