Hi, @August.
The macro could include logic to conditionally save the instance to a global variable; or it could save it to a dictionary. In the latter case a macro could subsequently use the key to discern more information.
It’s not directly applicable, but you might find this related thread helpful: Cancelling the Previous Instance of Itself