I'd love to have the ability within a script to determine if the script is running in response to another script, or if it's running in response to user input.
If I could have a conditional like:
println("I was called by another script!");
I'd be one happy camper. Better yet, this.CallingScript - null if not called by script, otherwise contains the name of the calling script. That would make me a happy camper with a cooler full of my favorite beverage.
The Change Log for records shows an icon for actions initiated by script. I wonder if this is something that's available and just not documented?