12-23-2004, 01:55 PM
heres the easiest way to do it.
have qm "record" you doing the process (CASr). when the little box comes up, click the first dropdown box and choose real (if it already isnt). then do the clicking (in real time) that you want it to do. when you're done click new on the recording dialogue box.
it will look something like this
test it...
now that you have it what you want to do is put the whole thing into a "rep" command.
putting the spe command in the "rep" block isnt nessesary but its easy.
this command will repeat for ever. if you want it to repeat for only 10 times it would look like this: "rep 10".
Let me know if there are any problems.
have qm "record" you doing the process (CASr). when the little box comes up, click the first dropdown box and choose real (if it already isnt). then do the clicking (in real time) that you want it to do. when you're done click new on the recording dialogue box.
it will look something like this
spe 10
int w1=act(win("Quick Macros" "MozillaWindowClass"))
lef+ 411 487 w1; 0.14
lef- 412 486 w1; 1.27
dou 334 441 w1; 3.80
dou 393 661 w1test it...
now that you have it what you want to do is put the whole thing into a "rep" command.
rep
,spe 10
,int w1=act(win("Quick Macros" "MozillaWindowClass"))
,lef+ 411 487 w1; 0.14
,lef- 412 486 w1; 1.27
,dou 334 441 w1; 3.80
,dou 393 661 w1putting the spe command in the "rep" block isnt nessesary but its easy.
this command will repeat for ever. if you want it to repeat for only 10 times it would look like this: "rep 10".
Let me know if there are any problems.
