Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running Several Macros with .exe
#1
Guys,

I've created a folder with a large amount of Macros.

MACRO_FOLDER
>Macro1
>Macro2
>Macro3
>Macro4
...
>Macro200


Then, I had to create another Macro to run all this macros in the same time. I made it using "mac" command.

>Macro_Runner
mac "Macro1"
mac "Macro2"
mac "Macro3"
mac "Macro4"
...
...
mac "Macro200"

But now I have a problem. I'd like to create a .exe to run all this macros and QM is saying it not possible to do this because Macro1 is not a function.

I'd really appreciate your help.
#2
That's correct since you could not run more than 1 macro at a time.
So to work around you have to convert all of those macros into functions first.
Then you could combine all of them into 1 executable file.
So your final "Macro_Runner" file should look like:

Macro Macro_Runner
Code:
Copy      Help
macro1
macro2
macro3
...
macro200
#3
Thanks,

But how can I convert a Macro to a Function?
#4
Here are the steps to convert a macro to a function:
- Highlight the macro (select it)
- Press Ctrl-P to open the "Properties" dialog
- Click on "Macro properties" tab (2nd one)
- Click on "Convert to function" checkbox at the bottom left of the dialog.
- Click "OK" to close the dialog
- That's it.

Do for each of the macro to convert it to a function.
#5
Thanks a lot!!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)