How to know the code in Query Analyser

Apr 3 2006 3:55 AM

My Program wants to know what is being edited in Query Analyser currently.
How can I do that?

Thanks.