Menu Action Plugin
Version 3.0.0.0
Rewrote the plugin and framework from scratch(again)
List of all currently existing functions:
Menu.Create()
Menu.DoesExist()
Menu.GetActive()
Menu.GetChecked()
Menu.GetEnabled()
Menu.GetNames()
Menu.GetItemProperties()
Menu.GetTable()
Menu.GetXML()
Menu.OnMenu()
Menu.RemoveItem()
Menu.Rename()
Menu.RenameItem()
Menu.SetActive()
Menu.SetChecked()
Menu.SetEnabled()
Menu.SetDelmiter()
Menu.SetItem()
Menu.ToggleChecked()
Menu.ToggleEnabled()
Version 3.1.0.0
Added the following functions:
Menu.LoadFromFile()
Menu.SaveToFile()
Menu.SetXML()
Version 3.1.0.2
Fixed a bug that disallowed the creation of more than one separator per main menu item
Version 3.1.0.1
Fixed the Menu.OnMenu() easy action argument
Added the Menu.Enable() function
Version 3.2.0.0
Fixed a bug that caused menu saving and loading to fail
Fixed a bug in the Menu.SetDelmiter() function
Fixed a bug that disallowed spaces in menu names
The Menu Action Plugin makes creating and manipulating menus a cinch.
Forget those exhaustive tables of properties and subtables. With the Menu plugin you'll be on your way to simple menus in no time at all. no more referencing menu items by number. No more miles of code in your On Menu events. This plugin allows you to reference your menu items by name and to specify code based on those names so you never need to remember a menu id again.
Basic steps in making or editing a menu.
In order to see changes to the menu bar after they are made to the specified menu, you need to update the menu, either with a function's AutoUpdate feature or by using Menu.Update(). This method is in place so you can have several menus loaded at once and manipulate them but only update the active one (the one loaded into the menu bar).
Additional: One of the features of this plugin is that you can load several menus into memory at once. At anytime, you can set active and update a specific menu and have it shown in the menu bar or a popup menu, all the while, having the ability to alter any of the loaded menus whether they are active or not.
Please report any bugs and feel to give any feedback you may have.
Version 3.0.0.0
Rewrote the plugin and framework from scratch(again)
List of all currently existing functions:
Menu.Create()
Menu.DoesExist()
Menu.GetActive()
Menu.GetChecked()
Menu.GetEnabled()
Menu.GetNames()
Menu.GetItemProperties()
Menu.GetTable()
Menu.GetXML()
Menu.OnMenu()
Menu.RemoveItem()
Menu.Rename()
Menu.RenameItem()
Menu.SetActive()
Menu.SetChecked()
Menu.SetEnabled()
Menu.SetDelmiter()
Menu.SetItem()
Menu.ToggleChecked()
Menu.ToggleEnabled()
Version 3.1.0.0
Added the following functions:
Menu.LoadFromFile()
Menu.SaveToFile()
Menu.SetXML()
Version 3.1.0.2
Fixed a bug that disallowed the creation of more than one separator per main menu item
Version 3.1.0.1
Fixed the Menu.OnMenu() easy action argument
Added the Menu.Enable() function
Version 3.2.0.0
Fixed a bug that caused menu saving and loading to fail
Fixed a bug in the Menu.SetDelmiter() function
Fixed a bug that disallowed spaces in menu names
The Menu Action Plugin makes creating and manipulating menus a cinch.
Forget those exhaustive tables of properties and subtables. With the Menu plugin you'll be on your way to simple menus in no time at all. no more referencing menu items by number. No more miles of code in your On Menu events. This plugin allows you to reference your menu items by name and to specify code based on those names so you never need to remember a menu id again.
Basic steps in making or editing a menu.
- Set the desired menu as the active menu. [Menu.SetActive("My Menu")]
- Create/Edit items. [Any function that adds/edits menu items]
- Update the menu. [Menu.Update()]
In order to see changes to the menu bar after they are made to the specified menu, you need to update the menu, either with a function's AutoUpdate feature or by using Menu.Update(). This method is in place so you can have several menus loaded at once and manipulate them but only update the active one (the one loaded into the menu bar).
Additional: One of the features of this plugin is that you can load several menus into memory at once. At anytime, you can set active and update a specific menu and have it shown in the menu bar or a popup menu, all the while, having the ability to alter any of the loaded menus whether they are active or not.
Please report any bugs and feel to give any feedback you may have.
The Menu Action Plugin makes creating and manipulating menus a cinch. Forget those exhaustive tables of properties and subtables. With the Menu plugin you'll be on your way to simple menus in no time at all. no more referencing menu items by number. No more miles of code in your On Menu events. This plugin allows you to reference your menu items by name and to specify code based on those name so you never need to remember a menu id again.