hi there,
iam searching for a variable that indicates wheter i am in an editbox (cursor is blinking and waiting for key input) or not. editboxes for example can be the chatFrameEditBox or the friendsAddEditBox... i need this to determine, wheter keybindings should be run or not. so if i am in an editbox, keybindings are turned off by default. e.g. if i am pressing c while in an editbox, there wont show the "character sheet". now i need that variable that saves the status wheter keybindings should be run or not.
sth. like:
Code:
if (runKeybindings) then
ChatFrame1:AddMessage("keybindings will be run")
else
ChatFrame1:AddMessage("keybindings wont be run")
end
hope you got what i mean, my english is pretty bad
greetings
peter