I'm confused about how the timer control works... Please help me...
Assume these are the actions that I want to do with a pause in between them each...
Move mouse to 1st position
Left mouse click
Me.Cursor.Position = New Point(390, 195)
Move mouse to 2nd position
mouse_event(MOUSEEVENTF_LEFTDOWN, 390, 195, 0, 0)
mouse_event(MOUSEEVENTF_LEFTUP, 390, 195, 0, 0)
Left mouse click over that position
Me.Cursor.Position = New Point(623, 195)
I am very new at vb, this is all I know to do so far, could you please help me fill in the gaps. I would greatly appreciate it!
mouse_event(MOUSEEVENTF_LEFTDOWN, 623, 195, 0, 0)
mouse_event(MOUSEEVENTF_LEFTUP, 623, 195, 0, 0)
in the form load
Timer1.Interval = 500
Timer1.Enabled = True
then, what would I put in this...
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As
'what goes here?