i took code here: how simulate mouse movement
i got , seemed working, didn't test it, able mouse click tab on firefox. (having program load on ff window.)
i changed window struct window smaller, , gave specific position instead of letting windows it: (0,0).
then tried plugging in coords mouse move (830, 380), , tried (630, 390) both resulted in mouse going directly bottom right corner of screen. coords auto clicker working on.
i haven't modified code much.
does have idea why is? i'm sure must missing something...
thanks.
just use mouse_event http://msdn.microsoft.com/en-us/library/windows/desktop/ms646260%28v=vs.85%29.aspx
or sendinput http://msdn.microsoft.com/en-us/library/windows/desktop/ms646310%28v=vs.85%29.aspx
job. believe coordinates normalized range of 0-65535 both x , y
Comments
Post a Comment