06-07-2013, 12:06 PM
I'm a little new to the whole QM thing (A week or two now) But I've been coding in pascal based auto programs for year's. Anywho, I'm a little stuck when it come's to this procedure. I don't know how to really express it properly, But basically I need it to repeat one part until it detect's a certain color in a place, then goto the other part and repeat that til a color shows up and cycle on until the macro is stopped. The lines Bracketed with "?__?" are the parts I'm having issues with =(
Macro Test
I know it's pretty simple, But I have no idea what I'm doing =S I've been stuck on it for a few day's now I haven't been able to find anything helpful =(
Thanks ahead for helping out a noobcake like myself =D
Macro Test
int w1=act(win("- - VMware Workstation" "VMUIFrame"))
lef 440 425 w1
rep
,;G1
,lef 200 800 w1
,key "Test" Y
,'CA{}
,if (Color:0x29AAD6) goto G2?
rep
,;G2
,lef 410 425 w1 Y
,key "Test2" Y
,'CA{}
,?if (?Color:0x29AAD6?) goto G1?
I know it's pretty simple, But I have no idea what I'm doing =S I've been stuck on it for a few day's now I haven't been able to find anything helpful =(
Thanks ahead for helping out a noobcake like myself =D