Is there a way to make more macro sets within a window? I'm making some macros and I don't want them to all be grouped together, but in separate lines or w/e. Like this:
[ Macro macro2 macro3 macro4 macro5]
[ Macro6 Macro7 Macro8 Macro9 Macro10]
Grouping Macros
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
- Shadowfireomega
- Giant
- Posts: 218
- Joined: Thu Dec 23, 2010 12:12 am
- Location: San Antonio, Texas
Grouping Macros
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros
Re: Grouping Macros
When you edit a macro, you'll see a field at the top of the editing screen labeled "Group." This lets you cluster macro buttons by whatever organization you like. Note that group names are always sorted alphabetically, though, so if you want a particular order either make sure the group names go in that order, or number them, or whatever (e.g. "1. Combat Macros", "2. Character Editing", etc.).
- Shadowfireomega
- Giant
- Posts: 218
- Joined: Thu Dec 23, 2010 12:12 am
- Location: San Antonio, Texas
Re: Grouping Macros
thanks man, works great
"I love being wrong, for if I was always right, there would be nothing left to learn, and that would be a world I would not want to live in."
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros
-Benjamin Fisher
"Knowledge is knowing a tomato is a fruit; wisdom is not putting it in a fruit salad."
-Miles Kington
"Space is his favorite thing in the world!"
-Kayla Kros
"Anything times 1 is 1"
-Kayla Kros
Re: Grouping Macros
Hello everyone, just a newbie here
Well, I know this is an old post, still I have one question on the subject: can I have two macros with the same name in two different groups?
I mean this:
macro "CharSheet" in group "EditSheet"
macro "CharSheet" in group "ViewSheet"
Thanks in advance for your kindness
Well, I know this is an old post, still I have one question on the subject: can I have two macros with the same name in two different groups?
I mean this:
macro "CharSheet" in group "EditSheet"
macro "CharSheet" in group "ViewSheet"
Thanks in advance for your kindness
Re: Grouping Macros
You can, but I don't recommend it. Not sure why you would if they do exactly the same thing. What I recommend is to add some formatting to one of the macro like "<b>CharSheet</b>" so they won't have the exact same name, internally.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Grouping Macros
Thanks for the answer and for the advice!
Just to clarify, the two macros won't do the same thing, as the one in "EditSheet" group would enable the player to edit the character sheet (maybe just at creation, the entire system is still in the design phase...) while the one in the other group would just let her/him...well...view it .
Do I understand correctly, from what you're saying, that there may be some mis-execution in the two macros if the same name were to be used?
Again, thanks a lot!
Roses are grey, violets are grey...I'm dead and colorblind!
- Full Bleed
- Demigod
- Posts: 4736
- Joined: Sun Feb 25, 2007 11:53 am
- Location: FL
Re: Grouping Macros
Yes. How would MT know which to run? You only point to the lib that the macro is on when calling it.
So, don't do that.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."
Re: Grouping Macros
Sorry for replying after such a long time... been busy as can beFull Bleed wrote: ↑Tue Jan 18, 2022 4:46 pmYes. How would MT know which to run? You only point to the lib that the macro is on when calling it.
So, don't do that.
Thanks for the clear explanation, I'll avoid such pitfalls now
Have a good one!
Roses are grey, violets are grey...I'm dead and colorblind!