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

Thanks.