Retrieving Macroscript IDs or information?


I'm looking for a way to retrieve a macroscript ID or macroscript data in general without having prior information in hand. Ideally I'm looking for a method of getting script information like eg. "script name" without having any prior information on hand for script tracking purposes.

The Macro"Recorder" does output the ID when a script is launched which is ideal. However, I don't know of any way to retrieve that output from the Macro"Recorder." through maxscript. As to my understanding it is mainly a visual tool unlike the "Listener" which can be collected.

Open to any other alternatives or suggestions.