Thread: OnClick Support
View Single Post
09-26-12, 10:06 AM   #1
Uitat
A Chromatic Dragonspawn
 
Uitat's Avatar
AddOn Author - Click to view addons
Join Date: May 2011
Posts: 162
OnClick Support

i posted this in another thread that i will delete, i believe this is the correct place


ok so here is the senario, i am really wanting to add a little onclick support from my addon to auto enter text to the chat box to activate Reflux


such as

function WARRIOR_OnClick()
Generic_Setup();
Warrior_Setup();
UItatDB.HasBeenRun = 1;
ReloadUI();
end

this is my current setup. and it is fuctional in the method that i want it to be

however i would really like to have it enter a reflux switch instead

Such as

function WARRIOR_OnClick()
UItatDB.HasBeenRun = 1;
(( TYPE /Reflux Switch UItat_Warrior Then ENTER)) -- this is just an example of the wish not actual coding
ReloadUI();
end

is there any way to accomplish this
as so far i have not found any way to accomplish this
__________________
  Reply With Quote