[module] MMenu 1.0 b1
http://www.r-moth.com/code/AHK/MMenu/files/includes/MMenu-ahk.html
MMenu is the replacement for the standard AutoHotKey Menu command. Among other options, it alows menu items to have icons, and solves limitation of standard menus about item identification – besides title, which is nonreliable way to identify items, MMenu gives you an option to identify menu items by ID or position. Mmenu gives you full control over the menu you created, even while it is displayed.
To use this extension simply include MMenu.ahk in your script via #include directive.
First check out _MMenuTest.ahk. Then take a look at documentation to get familar with the syntax. For now, include mmenu the way it is included in _MMenuTest.
How to use: copy includes folder where your script is and put this at the end of your script
Code (Copy): |
#include includes
#include MMenu.ahk
#include structs.ahk
|
Some nice screenshots: white, black, for kids.
Have fun
NOTE: If you don't see icons, desable WindowBlinds or exclude AutoHotKey from skinning in its options.
NOTE2: For now all very dynamic MMenu usages (like script that creates and deletes over 100 menus in an hour) should reload the script once in while (every few hours, depending on script usage), otherwise, on each menu/item creation MMenu's Destroy function will get slower and Select event for menus that have submenus. If you don't use this functions, its OK.