Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timed Event 1

Status
Not open for further replies.

akelly200

Programmer
Jan 15, 2001
8
0
0
US
Hi there
And many thanks to all who answer.

I'm trying to write a small program that will allow me to click my mouse for 30 seconds then pause and then resume for another 30 seconds. Then showing the ratios of the two periods.

I would appreciate any help on this and also if possible some code to show me the way.

Once again many, many, many thanks to all who reply

Andy.
 
You could create a mouse_click event with a timer set to 30 seconds. Have a counter that counts the number of mouse_clicks and after each click, reset the timer. If the timer fires, store off the counter and set it to zero and restart the process. When the timer fires the second time, do your ratio analysis. Kind of an odd little project.... I hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top