Hi all,
I'm wondering if it is possible to reference the name of the script itself in the script. I'm adding code to send an e-mail when the script runs into an error. It would be nice if this e-mail contained the name of the actual script that failed to run. I could type out the name, but I'm looking for a way to not have to do that. I'd like it to be flexible and dynamic.
I'm using the method described on the link below btw. If anyone knows a better way of getting alerts when scripts are failing, please let me know :)
Thanks for any help in advance!