Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-14-22, 03:12 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
Problem sending macro to chat box

Hello,

I used to send macros to chat box in several addons like this
Lua Code:
  1. local strTemp = "/cast Feign Death"-- for example
  2. DEFAULT_CHAT_FRAME.editBox:SetText(strTemp ) -- sent to Chat Box
  3. ChatEdit_SendText(DEFAULT_CHAT_FRAME.editBox,0)
But PTR 10 complains about a blocked command used by the addon (looks like a secure frame problem).
It still works with emote, if for example strTemp = "/sit"

Is it really a secure problem?
__________________
Zax - Addons List, not all maintained.
  Reply With Quote
 

WoWInterface » PTR » PTR General Discussion » Problem sending macro to chat box


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