Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Is there a way to re-order the macro bar?

1764860302

Edited 1764860951
Is there a way to re-order the buttons in the macro bar without turning off everything then adding them back in the desired order? Every time I add a new macro button it gets tacked onto the far right end; this makes organizing them cumbersome.  For example, in the macro bar shown in this screen shot ,I would like to move the new "Kobold Grabs" macro button to the appear with rest of the combat related buttons at the upper left of the bar, but in order to do so I need to go to my collections tab and turn off all the macros except for the first three, then add them in again (and change their color, since that setting isn't retained when a macro button is removed).   I know I can create a chat menu to present my macros in an organized manner, but that requires an added mouse-click to call up the menu plus clutters up the chat. Edit: BTW, I'm using *Stylus* to reduce the size of the macro bar buttons and have them appear in multiple rows.
Yes you can. If you hover your mouse over the right side of a macro button, there will be a small “grab bar” that you can click and drag to move the button.  Two caveats: first, since you’re using Stylus and you’ve modified the appearance of the macro bar, that grab bar might be small or removed. You can temporarily disable Stylus to see the grab bar more easily.  Second, since you’re using the API Heartbeat script, every time it changes the macro button icon, it will prevent you from clicking and dragging a macro button (when the icon is updated, your browser cannot maintain ‘focus’ on the button you’ve selected).  So you’ll have to disable the API heartbeat script temporarily to move things around. 
1764866495

Edited 1764866603
Thanks Jarren! I had tried using the grey "grab bar" to drag the buttons but it wasn't working. Temporarily disabling API Heartbeat did the trick. Also, it was a bit tricky to drag the button between rows, so turning off the Stylus script that modified the macro bar display solved that as well.
1764877814
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The API Heartbeat interaction is a known problem, but no one has come up with a better persistent notification that doesn't use the macro bar.
I've thought of modifying API Heartbeat with a command to temporarily pause and unpause it, but I just haven't gotten around to trying to tinker with it yet. Probably not a huge lift but it will definitely take me a bit of time to figure out.
This is a pretty niche problem, but it might be worth adding a note about it in the MOD's documentation. I like API Heartbeat , even though it's got some oddities in setting it up, like the duplicate macros that keep showing up under collections. keithcurtis said: The API Heartbeat interaction is a known problem, but no one has come up with a better persistent notification that doesn't use the macro bar.
1764891652
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Jarren said: I've thought of modifying API Heartbeat with a command to temporarily pause and unpause it, but I just haven't gotten around to trying to tinker with it yet. Probably not a huge lift but it will definitely take me a bit of time to figure out. That's actually a great idea. Click on the button to issue a pause command, and click it again to toggle updating back on.
I created a version with a 'pause' feature, and added the option to change the macrobar button between Histogram, Check, Pause, or History. When the script is paused, a Pause emoji is added to the macro icon. <a href="https://raw.githubusercontent.com/kinchj/Roll20API/refs/heads/main/API%20Heartbeat%20Additions" rel="nofollow">https://raw.githubusercontent.com/kinchj/Roll20API/refs/heads/main/API%20Heartbeat%20Additions</a> This also has the additional icon options I added here .