Hello I am looking for how to bring in the name and/or path of the script that I am running? I have tools that I create via scripts and am beginning to add a variable to the output tables with source information (user name, date, source files imported, etc) and would like to add the script name that they launched.
I don't think there's anything to do just that, but you can get different information within different contexts. If the script is run from a script window, you can use Get Current Window(). If it's run from a file, you can get the file's directory with Get Default Directory().