|
-
Mar 11th, 2010, 05:47 PM
#1
Thread Starter
Member
Mouse Click Call
How would i make a program (in the background) preform a MOUSE click?
Thanks!
-
Mar 11th, 2010, 05:52 PM
#2
Re: Mouse Click Call
You just want a random click? Why?
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Mar 11th, 2010, 06:28 PM
#3
Thread Starter
Member
-
Mar 11th, 2010, 06:46 PM
#4
Lively Member
Re: Mouse Click Call
It's simple to execute, but like demon said, why would you want to. You are performing actions without the knowledge of your client/user. If things start happening they cannot comprehend then they will consider your application broken. But if you insist on doing this all you have to do is call the Click event from wherever you need it:
Code:
Private Sub Button1_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.MouseHover
HiddenClick(Button1, New EventArgs)
End Sub
Protected Sub HiddenClick(ByVal sender As Object, ByVal e As EventArgs)
MessageBox.Show("I am a hidden click")
End Sub
But you are constrained to performing this kind of action through the events associated with the form and its controls.
Technik ... Kniff, die Welt so einzurichten, dass wir sie nicht erleben mussen
Max Frisch
-
Mar 11th, 2010, 07:00 PM
#5
Re: Mouse Click Call
If you want to click outside of the application, you'll need to use a Windows API.
But, before we can assist further, we need to know the purpose of this. This seems... arbitrary.... I can't think of a legitimate reason why you would want to do this,
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
-
Mar 11th, 2010, 07:53 PM
#6
Hyperactive Member
Re: Mouse Click Call
 Originally Posted by weirddemon
If you want to click outside of the application, you'll need to use a Windows API.
But, before we can assist further, we need to know the purpose of this. This seems... arbitrary.... I can't think of a legitimate reason why you would want to do this,
to make a macro for a program that hasn't released an API to interact with it?
execute mouse commands while you are away from the computer can be very useful and you most certainly didn't think hard enough
the user could be just Twango himself, and you have no reason to believe, eatmycode, that the user doesn't know his mouse will be moved....
-
Mar 12th, 2010, 10:28 AM
#7
Thread Starter
Member
Re: Mouse Click Call
Guys, here is what i want: A button, that says "Autoclick" that calls a click say... every 1000 milliseconds... that DOES NOT click IN my form but OUTSIDE of the form. Like the type event...
-
Mar 12th, 2010, 10:40 AM
#8
Fanatic Member
Re: Mouse Click Call
but why? Most of these questions deal with game cheats or bots.
Where I'm from we only have one bit of advice for new comers: "If you hear banjos, turn and run".
VS 2008 .NetFW 2.0
-
Mar 12th, 2010, 12:00 PM
#9
Thread Starter
Member
Re: Mouse Click Call
For a personal use... I have an App website and it's been requested... IS IT POSSIBLE!?
-
Mar 12th, 2010, 12:05 PM
#10
Fanatic Member
Re: Mouse Click Call
Sure is, but as I think you're using this to create a cheat/bot, or help someone create a cheat/bot, I'm not going to offer any more advice.
Good luck.
Where I'm from we only have one bit of advice for new comers: "If you hear banjos, turn and run".
VS 2008 .NetFW 2.0
-
Mar 12th, 2010, 01:18 PM
#11
Thread Starter
Member
Re: Mouse Click Call
Ok! Does anyone else have ideas?
-
Mar 12th, 2010, 02:25 PM
#12
Lively Member
Re: Mouse Click Call
Why start an app website to ask them all on a Forum.
-
Mar 12th, 2010, 04:12 PM
#13
Thread Starter
Member
Re: Mouse Click Call
OMG i've made a bunch of apps without you guys!
And WHY does it matter what i am using for i just need help!!!
-
Mar 13th, 2010, 01:26 AM
#14
Lively Member
Re: Mouse Click Call
You sound too desperate for my liking. I'm sure Philly will help you.
Technik ... Kniff, die Welt so einzurichten, dass wir sie nicht erleben mussen
Max Frisch
-
Mar 13th, 2010, 01:32 AM
#15
Hyperactive Member
Re: Mouse Click Call
plenty of people will help him, although its already been asked/answered on THIS FORUM before
http://www.vbforums.com/showthread.php?t=358458
nobody had a problem answering this question..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|