Forum Discussion
Critter
15 years agoNew Contributor
I know this is an older thread, but I am using this to grab the script name and append it to my log files...
var strFullPathToScript = Project["FileName"];
var strScriptName = Utilities.StringReplace(Utilities.ExtractFileName(strFullPathToScript),".mds","",1);
var strFullPathToScript = Project["FileName"];
var strScriptName = Utilities.StringReplace(Utilities.ExtractFileName(strFullPathToScript),".mds","",1);