See this thread for a sample qkey script. I am wait for a reply to my email - not sure what will go through since we are experiencing issues right now. So once I get a reply I will see if I can find some info for you. Qkey is really simple and there are only a couple of commands to use - pretty cool product.

__________________
Mark

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.