Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / mouse control out side DBP

Author
Message
mutt
15
Years of Service
User Offline
Joined: 6th Jun 2011
Location:
Posted: 12th Jun 2011 22:04
Is there any way to control the mouse to click web pages in the browse while DBP program minimized. I need to make a mouse clicker type program to click the browser so many times

thanks mutt
Mistrel
Retired Moderator
20
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 12th Jun 2011 22:18 Edited at: 12th Jun 2011 22:20
SetCurorPos() from the Win32 API can help you move the mouse to any position on the screen:

http://msdn.microsoft.com/en-us/library/ms648394(v=vs.85).aspx

This function is located in User32.dll.

Login to post a reply

Server time is: 2026-07-11 02:14:09
Your offset time is: 2026-07-11 02:14:09