Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-09-19, 10:14 PM   #1
phrenetic
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jan 2007
Posts: 5
understanding the ESC function in a macro

hey guys,

i would like to ask for your help, since i'm struggling with quite an easy to implement function for ESC key to close already open frame. Let's cut to the chase, i'm having the following macro:

Code:
/run LoadAddOn("Blizzard_AzeriteEssenceUI")
/run AzeriteEssenceUI:ClearAllPoints()
/run AzeriteEssenceUI:SetPoint("CENTER",0, 0)
/run local b=AzeriteEssenceUI if b:IsShown() then b:Hide() else b:Show() end
basically, it opens the Heart of Azeroth's essence UI (using it just as a shortcut, yeah) and allows you interaction. it's working totally fine, but ESC key doesn't cover this frame. anyone can give me advice? i prefer a macro only, cause it's Xpac related UI, and i really need the knowledge (ex. proper handling of tinsert() function in a macro)

Highly appreciate any answer ty in advance
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » understanding the ESC function in a macro


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off