[Answered] Toggle Map macro?

Greetings. I wanted a button I could just press to bring up the full screen map and I found this:

/run WorldMapFrame:Show()

But when I go to run it, it gives me a dire warning that I must allow any and all scripts to run and I might loose things via an exploit. Is that the only option - I can’t just allow this macro?

T.I.A.

This is just a check asking if it is something you want to do. If it is you and you do want to see the map via a macro, press OK.

If you want a show/hide toggle in a single macro, change it too:
/run WorldMapFrame:SetShown(not WorldMapFrame:IsShown())

10 Likes

Ah. Thank you. I thought it was allowing all things to run in the future. Good.

And thank you for the improvement, I’ll use that.

You’re suppressing that warning in the future, yes.

1 Like

Perfect. Thanks from me.

Thank you so much for this… my Map Addon does not account for the new WorldMap toggle and this macro bound to a button scaled down and put right where the old Map Button was solved the problem!!! Thanks again!!

Hi Fizzlemizz, thanks for this macro! I am also looking for a macro to increase and decrease the graphics settings for view distance. I’d like to be able to increase view distance to 7 and then back to 3 for when I’m in a major city. Is this possible?

The answer is probably but… do you realy want it as a manual toggle macro or a small automatic toggle addon.

I’ll take a look tomorrow (or after your reply, whichever comes later) if no-one else has done so.

1 Like

Since this is an older topic with a different subject, I put the answer here:

2 Likes

Thank you for the repsonse, Fizzlemizz! I could not find a solution to this after much searching, but came across your map macro (which works perfect!) and thought maybe you might know the answer. Polgara had a solution that works perfect for what I need. Thank you, both of you!

1 Like