View Single Post
04-19-21, 08:18 PM   #11
samueldcorbin
A Deviate Faerie Dragon
Join Date: Dec 2020
Posts: 14
Thank you for the answers.

I can WorldMapFrame:Show() so long as nothing else taints it, but the OnShow doesn't actually handle all the things you would normally get from showing the frame - several of them are handled by ShowUIPanel, which has a check for secure environment.

My intent was to alias the call to something else, not to do a native /click [something]. Using the built-in slash command does not work for what I'm trying to do. I assumed that since there were secure handlers that allowed hardware events to change frame attributes in predefined ways within a restricted environment, there might be a secure slash command template of some kind, but it looks like that's not the case.

I've just settled for having the addon open the map after combat ends (or set the map correctly if the player opens it manually in the interim).
  Reply With Quote