Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Independent Variable?......sorta :/
#19
Gintaras Wrote:Put this at the beginning of the main macro:

mac "your_color_checker_function"

This starts the function to run asynchronously, simultaneously with the main macro.

Now, how to stop the function when the main macro ends? For example, you can use a global variable. But it is easier to use shutdown -6, unless your QM version is quite old. Place this at the end of the main macro:

err+
shutdown -6 0 "your_color_checker_function"

I tried the shutdown thing, however it dosnt seem to be working. Unless its something else that im thinking off, how do i make it that when i click end macro, it ends the function aswell? Because many times ill end macro for a second, and start it back up. Then later ill look and ill have like 4 functions up when i go to end function...so how do i do it, that when i end macro(right click on tray and end macro) that the function ends aswell?
[Image: banner-grunge2.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)