Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mac Command
#15
ken gray Wrote:how about this?


Code:
Copy      Help
mou 305 85 "Quick Macros"
int col  [color=red]this is just initialing the integer 'col'[/color]
col = pixel(305 85 "Quick Macros") [color=red]Stores the color from the xy inside the parens[/color]
rep
,if col = pixel(300 85 "Quick Macros")
,,out "continue"[color=red]just puts the word continue in the output of the editor for debug[/color]
,,0.5[color=red]waits half-second[/color]
,,ClearOutput[color=red]clears the Editor's output box for debugging[/color]
,,continue[color=red]if colour the same keep repeating[/color]
,else
,,break[color=red]if colour is changed stop repeating and go on[/color]
out "break"[color=red]output for debugging[/color]
An old blog on QM coding and automation.

The Macro Hook


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)