Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kill and start macro
#1
Hi. I need to be able to kill a macro and then start it up again. 

I can killl another macro using 'shutdown -6 0 "macro"' but I can't find how to start it up again.
#2
click and drag a macro into the editor
#3
= start macro without new thread

macroname 

= start macro with new thread

mac("macroname")

= start macro with new thread and wait for thread end

int hThread
hThread = mac("macroname"); wait 0 H hThread

= start macro to get values

int i
i = macroname ; wait 5 V i
( wait for 5 seconds to get value "i", if not, errors )
#4
Thanks for these answers. I have it working now with mac("macroname")


Forum Jump:


Users browsing this thread: 1 Guest(s)