Best4FREE Posted April 29, 2008 Share Posted April 29, 2008 How can i send Mouseclicks to an minimized window? please some example with notepad Link to comment Share on other sites More sharing options...
Dampe Posted April 29, 2008 Share Posted April 29, 2008 ControlSend ("Untitled - Notepad", "", "Edit1", "left", 1, 50, 50) Off the top of my head. Link to comment Share on other sites More sharing options...
Drew Posted April 29, 2008 Share Posted April 29, 2008 (edited) ( Helpfile Rocks... ) ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) Parameters title The title of the window to access. text The text of the window to access. controlID The control to interact with. See Controls. button [optional] The button to click, "left", "right" or "middle". Default is the left button. clicks [optional] The number of times to click the mouse. Default is 1. x [optional] The x position to click within the control. Default is center. y [optional] The y position to click within the control. Default is center. Return Value Success: Returns 1. Failure: Returns 0. Remarks Some controls will resist clicking unless they are the active window. Use the WinActivate() function to force the control's window to the top before using ControlClick(). Using 2 for the number of clicks will send a double-click message to the control - this can even be used to launch programs from an explorer control! Edited April 29, 2008 by Drew Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now