Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STOP THEN START
#1
ok what i want to do is when the program is running i want it to stop the program and startanother NEW MACRO in the same file
then when that macro is finished i want it to stop that macro and start up the other one all in the same file
#2
Run the first macro. After it has completed its tasks, you can use what is listed below.

mac "macro/function" "win";; runs macro or funtion in a specific window. Window is optional.
break; mac "macro/function" "win;; breaks rep tab and runs next specified macro or function. Window is optional.

If you are using a function you will want to use ret to return value or end to... well, end it properly.

example:
Macro1
Macro2
Macro3


Macro1 running...
================

spe -1
rep

,2.5
,if(IsWindow("window name" "class"))
,,break; mac "Macro2" "window name";; run macro2 and break repeat on macro1


Macro2 running...
================

spe -1
rep

,2.5
,if(IsWindow("window name" "class"))
,,break; mac "Macro3" "window name";; run macro3 and break repeat on macro2


Forum Jump:


Users browsing this thread: 3 Guest(s)