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.

Newcomers DBPro Corner / controlling the cursor?

Author
Message
mususama
15
Years of Service
User Offline
Joined: 7th Jun 2009
Location:
Posted: 20th Sep 2010 14:43
Hi guys, just wrote a program that opens a web browser and positions the mouse over a button, just wondering if there is a way to make the mouse click the button. if its possible to control the cursor any further. thanks in advance
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 20th Sep 2010 22:54 Edited at: 20th Sep 2010 22:55
If you make something idiot proof... only idiots will want to use it.

It's really best not to take over control of the mouse or even limit the area the mouse can go. All kinds of abuses can be brought about if we take over the mouse. If you really need them to press the button make the browser start on the page that the button leads to instead.

mususama
15
Years of Service
User Offline
Joined: 7th Jun 2009
Location:
Posted: 21st Sep 2010 02:21
hmmmm....what if the button doesnt lead to a page, it seems the source of the page only checks to see if the button is pressed and how many times it is pressed. Not real important i guess i was just playing around with dpro havin some fun.

Login to post a reply

Server time is: 2024-09-28 22:39:09
Your offset time is: 2024-09-28 22:39:09