Posts: 1,769
Threads: 410
Joined: Feb 2003
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
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 w1
test 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 w1
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.
Posts: 1,769
Threads: 410
Joined: Feb 2003
is the text string in a window tittle?
ok, lets put it simpler. say a specific word like "moo" appears on my IE screen, it'll trigger a macro and do it's action. simple enough?
Posts: 1,769
Threads: 410
Joined: Feb 2003
well the only way i can think of is to have it copy everything into the clipboard and then set a var to your clipboard and then search the var for the string of choice but that req a lot of interaction with the browser and will interfere with you interacting with it...and it's not ellegant at all!!!
sounds pretty eh.. complex. i've played with MUDS, and such, and they had triggers that wer ungodly simple, but worked, isnt their something LIKE that (if u know what muds are and such)