Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Independent Variable?......sorta :/
#20
Here is another way. Remove all previously added code from the beginning and end of the macro, and add this to the beginning:

Code:
Copy      Help
atend your_color_checker_function 1
mac "your_color_checker_function"

Function your_color_checker_function:

Code:
Copy      Help
function [onmacroexit]

if(getopt(nthreads)>1) ret ;;allow only single instance
int+ g_stop=onmacroexit; if(g_stop) ret

rep
,if(pixel(95 135)=0x4053B)
,,key 4
,0.1
,if(g_stop) ret


Messages In This Thread

Forum Jump:


Users browsing this thread: 11 Guest(s)