FuBar CustomMenuFu
From WowAce Wiki
| Summary | |
|---|---|
| FuBar - CustomMenuFu | |
| Allows you to create a FuBar menu with custom entries. | |
| TOC | 2.0 (20000) |
| Category | Interface Enhancements Addons |
| Authors | Rabbit, Fin |
| Details | |
| Version | 1 |
| OptionalDeps | Ace2 |
| Dependencies | FuBar |
| Links | |
| Betas | Ace SVN Zip |
| Changelog | FishEye |
CustomMenuFu is a FuBar plugin that allows you to define your own menu entries for a FuBar plugin. Each entry will call whatever Lua code you define. Basic usage is as follows.
Contents |
[edit]
Adding Entries
/menu add <entry name> # <your code>
eg, the following will add a menu entry called "Test" that prints "test" to the currently selected chat frame:
/menu add Test # SELECTED_CHAT_FRAME:AddMessage('test')
[edit]
Updating Entries
/menu update <entry name> # <your code>
eg, the following will update the menu entry called "Test" to print "beer is good" to the currently selected chat frame:
/menu update Test # SELECTED_CHAT_FRAME:AddMessage('beer is good')
[edit]
Removing Entries
/menu remove <entry name>
eg, the following will remove the menu entry called "Test":
/menu remove Test
[edit]
Calling a Slash Command
cmdln = "/SLASHCMD";ChatFrameEditBox:SetText(cmdln);ChatEdit_SendText(ChatFrameEditBox);
eg, the following will add an entry called Bt4 that will call /bt4, and thus display the Bartender4 Options menu:
/menu add Bt4 # cmdln = "/bt4";ChatFrameEditBox:SetText(cmdln);ChatEdit_SendText(ChatFrameEditBox);
[edit]
Etc.
There are various other options to set the title of your custom menu in FuBar, etc.

