01-18-2005, 11:00 AM
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"
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"