Hack Forums
[.NET] Clicking specific spots within a window? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Clicking specific spots within a window? (/showthread.php?tid=5168504)



Clicking specific spots within a window? - Camf βˆ† - Feb 13, 2016

Hey guys, I am just now coming back to HF 🀝
I want to get back into coding, and I was best at VB so I'm starting over and refreshing my memory.

Is it possible to to have specific clicks, clicked, within a window?
My goal is to make a bot for runescape if that helps🀝

A single script bot.


* - Jeffnickels - Feb 13, 2016

Is this in vb.net or is the for c#?
If for vb.
http://stackoverflow.com/questions/17414301/how-to-simulate-mouse-click


* - Camf βˆ† - Feb 13, 2016

(Feb 13, 2016 01:52 AM)Jeffnickels Wrote:  Is this in vb.net or is the for c#?
If for vb.
http://stackoverflow.com/questions/17414301/how-to-simulate-mouse-click

Sweet thanks man! I'll study this, and try to re figure something of my own 🀝
Cheers!


* - Jeffnickels - Feb 13, 2016

(Feb 13, 2016 01:53 AM)Camf βˆ† Wrote:  Sweet thanks man! I'll study this, and try to re figure something of my own 🀝
Cheers!

No problem man examples are given on that page :) happy learning


* - BahNahNah - Feb 13, 2016

(Feb 13, 2016 01:52 AM)Jeffnickels Wrote:  Is this in vb.net or is the for c#?
If for vb.
http://stackoverflow.com/questions/17414301/how-to-simulate-mouse-click

SendInput should be used instead of mouse_event.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx