Try sendMessage(hwnd, 0x0112, 0xF030, 0) The second and third parameter values are wm_sysCommand and wm_maxumize messages which come from winuser.h. You can check for success by negating the sendMessage call (i.e. if !sendmessage(hwnd, 0x0112, 0xF030, 0)), or checking for the maximized style in the window style bits with the bitwise and (&). \"The dark Count" <darkcount1@xxxxxxxxx> wrote on Tue, 17 Nov 2009 18:35:00 -0800: >Hello all. >I can't seem to figure out how type key works. >Last time I needed to really use it, we used to use {} and just type the key >in between. >I want to send a few keys through to maximize a window at start up. >Unless there is a better way? > >tia > >D C > >__________ >Visit and contribute to The JAWS Script Repository http://jawsscripts.com > >View the list's information and change your settings at >//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 //www.freelists.org/list/jawsscripts