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 / Forcing/simulating a mouseclick

Author
Message
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 30th Jul 2005 21:59
I've been working on a very tedious task lately, that involves a lot of mouseclicks. I've tried to make a DBP program, that will help me; so far, its done this very well, and speeds up this task alot

But, I would like to be able to make my program 'click' the mouse for me, since the mouseclicks are always in the same place.

Is there anything I can use in order to do this?

Thanks

[url=www.lightningstudios.co.uk][/url]
Sergey K
21
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 30th Jul 2005 22:13
i have a program for ya that will autoclick.. called "auto clicker".. ill send u it as soon ill b in msn


Morning Online
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 31st Jul 2005 05:14
You can do this from db loading user32.dll

Heres an example:



This link from msdn describe the mouse_event function.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputfunctions/mouse_event.asp
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 31st Jul 2005 14:00
@ZioNz; Thanks very much mate, that works very well indeed. You've just saved me alot of clicking

@GogetaX; Thanks for the offer, but ZioNz solution is more appropriate for my needs.

[url=www.lightningstudios.co.uk][/url]

Login to post a reply

Server time is: 2025-05-15 18:24:12
Your offset time is: 2025-05-15 18:24:12