Calling action/script...is it possible to determine?
I'm just wondering if it's possible to determin within a script what the calling script or action is.
Example: Let's say I have Action 1 and Action 2 both call the same script. For Action 1 I'd prefer the script to do one thing while Action 2 I'd prefer something slightly different. Is it possible for the script to know that Action 1 activated it?
The same for when a script calls another script. Without the calling script setting anything external that the called script reads, can the called script know which script activated it?