When a VI's window is active, and you select an item from the tools menu, the VI that runs the tool can use this to get to the active VI:
However if a library window is active when a tool is called, "Application:Menu Launch:VI" returns "_ProjectWindow2".
Is there a way to get a reference to the library from that?