I borrowed this from the skype scripts it should do what you want. postMessage(hwnd, 0x10, 0, 0) ; 0x10 is WM_Close ----- Original Message ----- From: "Bryan Garaventa" <bgaraventa11@xxxxxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Tuesday, August 11, 2009 3:12 PM Subject: [jawsscripts] Close window with SendMessage function? Does anyone know what the correct parameters are for forcing a window to close using the SendMessage function? The window handle is pretty obvious, but I'm not sure what the other constants should be. Thanks, Bryan __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at http://www.freelists.org/list/jawsscripts __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at http://www.freelists.org/list/jawsscripts