If I wanted to send a message to an application or a webpage that contained 2 "Edit" controls or (text boxes). Or if it had 2 Command Buttons. How can i control which box to send the message to, or which command button to Click?. Is it possible to find the hWnd's of this controls too? even if they are on a webpage?. if so can somebody give me an example on which API Call to use. Thanx