|
-
Jun 30th, 2006, 03:22 PM
#1
Thread Starter
New Member
Help a simple code
I'm a newbie to visual basics 6 and I was wondering if someone could help me.
What I want it to do:
I'm trying to make a very simple program that had a text box and a start button. You then type a number into the text box and click start. After you the program hides and u get 5 seconds to put the mouse where u want it. The mouse then atuo clicks the amount of times that u put in the box with a delay time of 2 seconds between each click. After it's done the program reapears.
If your wondering why I would want to do such a task it's just because someone has to start somewheres. Can someone please help me out and tell me how to code it, it doesn't seem like a very advance program.. Post please.
-
Jun 30th, 2006, 03:34 PM
#2
Lively Member
Re: Help a simple code
Welcome to VBForums:
To start out with a program like that, your going to need API's (unless you use a MDI form with a child form and only hide the child).
A place you can look. Action to Make the mouse click
You'll need to learn about the Timer. It has an event that fires at a given Interval (one of it's properties). TIP * If the timer is not enabled it won't run *
For a beginner I'd recommend using 2 of these. One for the hiding waiting for the mouse to move. One for the clicks.
Hope this helps you get started!
-
Jun 30th, 2006, 04:13 PM
#3
Thread Starter
New Member
I'm still very confused. I just want the mouse1 to click the number of times it says in the text box after 5 seconds, and with a little delay time between each click. I dont care about hideing it, this seems more complicated then I thought pretty much an auto clicker, someone please help
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
|