left click on specific points in screen every second.
Moderators: Dorian (MJT support), JRL
left click on specific points in screen every second.
hey. im begginer in this software so thats why i ask you here.
hmm...i need the mouse to do left click every second on a specific points. hmm there is a 9 points i need to press left click on it every second (not on the same time but one point after another) but i need to do it fast. hmm i hope someone can help me.
thanx
hmm...i need the mouse to do left click every second on a specific points. hmm there is a 9 points i need to press left click on it every second (not on the same time but one point after another) but i need to do it fast. hmm i hope someone can help me.
thanx
Change x,y coords as necessary. Repeat the two lines for each point that must be clicked on. If necessary add a short delay between each click using the Wait command.
//Point 1
MouseMove>x1,y1
LClick
//Point 2
MouseMove>x2,y2
LClick
//etc etc
//Point 1
MouseMove>x1,y1
LClick
//Point 2
MouseMove>x2,y2
LClick
//etc etc
MJT Net Support
[email protected]
[email protected]
Do you want to click on ALL 9 points every second or do you want to click on each point with a second delay between them?
MJT Net Support
[email protected]
[email protected]
A nice, easy way to check for elapsed time is to use VBScript's Timer function which returns the number of seconds elapsed since midnight.
To pause one second between events use the Wait command set to 1 second. So between each MouseMove/LClick we use Wait>1. Modify each MouseMove for the specific pixel positions you require.
//Tell script we want to use some VBScript
VBSTART
VBEND
//start is number seconds since midnight
VBEval>Timer,start
//end time will be start + 300 (300 secs = 5 mins)
Let>endtime=start+300
//start of loop
Label>start
MouseMove>x1,y1
LClick
Wait>1
MouseMove>x2,y2
LClick
Wait>1
MouseMove>x3,y3
LClick
Wait>1
MouseMove>x4,y4
LClick
Wait>1
MouseMove>x5,y5
LClick
Wait>1
MouseMove>x6,y6
LClick
Wait>1
MouseMove>x7,y7
LClick
Wait>1
MouseMove>x8,y8
LClick
Wait>1
MouseMove>x9,y9
LClick
Wait>1
//loop back to start if less than 5 mins has elapsed
VBEval>Timer,elapsed
If>elapsed
To pause one second between events use the Wait command set to 1 second. So between each MouseMove/LClick we use Wait>1. Modify each MouseMove for the specific pixel positions you require.
//Tell script we want to use some VBScript
VBSTART
VBEND
//start is number seconds since midnight
VBEval>Timer,start
//end time will be start + 300 (300 secs = 5 mins)
Let>endtime=start+300
//start of loop
Label>start
MouseMove>x1,y1
LClick
Wait>1
MouseMove>x2,y2
LClick
Wait>1
MouseMove>x3,y3
LClick
Wait>1
MouseMove>x4,y4
LClick
Wait>1
MouseMove>x5,y5
LClick
Wait>1
MouseMove>x6,y6
LClick
Wait>1
MouseMove>x7,y7
LClick
Wait>1
MouseMove>x8,y8
LClick
Wait>1
MouseMove>x9,y9
LClick
Wait>1
//loop back to start if less than 5 mins has elapsed
VBEval>Timer,elapsed
If>elapsed
MJT Net Support
[email protected]
[email protected]
Hi,
Nothing. If you want to start it at 16:00 schedule the macro under Macro Properties/Run When. Right click on the macro in Macro Scheduler, select Macro Properties from the pop up menu and then select the Run When tab. In here check off all the days you want the macro to run on and enter 16:00 on the Time box.
Nothing. If you want to start it at 16:00 schedule the macro under Macro Properties/Run When. Right click on the macro in Macro Scheduler, select Macro Properties from the pop up menu and then select the Run When tab. In here check off all the days you want the macro to run on and enter 16:00 on the Time box.
MJT Net Support
[email protected]
[email protected]