At work we use a sybase dbisqlc to enter sql commands etc...I've gotton all the keys to work however some of the people here use Putty (a terminal emulator) instead of procomm because of it's mouse support...What I mean is that in putty there is a File Edit menu.. This is like a windows style menu and in putty you can click on the File menu a it drops down a box with options etc..however in procomm it doesn't work....I'm guessing it works it putty because of putty's support of xterm sytle menus...which I don't think is possible in procomm...however what I'm trying to do is write a script in procomm that will immitate this behavior...I've found ways to see where the mose is using LMOUSEEVENT etc...and I known which cols rows the Word File Edit etc will always been on the screen...however I can't seem to find a way that will correspond the x y coords of those mouse commands in procomm to the corresponcding cursor position...If somone could help figure out that once peice I should have hte probem solved...the getcur statement only returns the current col,row but can anyone think of create workaround so that when somone clicks with the left mouse button I get cet the row col of where they clicked and then I could say that if it's a certain col,row range then that would send the keyboard keys to drop down that menu?