Macro to open up map? Please help!

Anyone know what the command is to open up the map? Normally, it’s pressing “M,” but I want it to open by pressing Shift+ right click of the mouse.

I want to make a macro to open up the map, put it on one of my hotkeys, then using Domonis add-on, bind it to shift+right click

That would be a keybind not a macro.

I believe keybind is a menu option, just find open map and select it to re-bind.

Edit: reading your second half closer idk if opening the map is something you can macro. I’ve never tried opening it using /(insert text here) like a macro would do.

I’ve found this

/run WorldMapFrame:Show()

But it only opens the map, it doesn’t close it when I click on it again

1 Like

/run WorkdMapFrame:Hide()

1 Like

I’m not at my PC to check, but does

/run WorldMapFrame:Toggle()

do anything for you?

nah that didnt work, it just brought up a LUA error thing

1 Like

Mega necro, but this thread came up in search results and remains unresolved so here is a solution:

/run if WorldMapFrame:IsShown() then WorldMapFrame:Hide() else WorldMapFrame:Show() end

This will toggle the map open and closed.

11 Likes

Thank you, this works!