How Can I Find the Program-Name from within a Class-File?

 

Is there a tricky way for a class to get the program-name which is calling/using/instantiating this class.

If I use __FILE__ I get the filename of the class - which is useful too of course - but not the the name of the running EA or indicator or script?

 
Arrrgh - and thanks, I should have known this!
Reason: