CursorMenu

[ AutoHotKey @ wikipedia ]  [ 1.exe ¹ ]  [ compiled menu creator ]

image by @SeX AHKmenu: 1 item → 6 lines code -_- x items → 2 + x • 4 lines

a nice feature from ahk are menus with local + web run entries, appearing next to the cursor.
•With a leading & you can create 1 jumpmark for the menu items → &xyz or xy&z
•the menu will disappear after a click on an item (or beside the menu)
•you can assign more actions to every menu item
•you can create too in the same .ahk file a tray menu with additional default entries →reload →edit →+...
1st line: menu,tray ,,.. Last line: only menu, tray , show

Advantages:
•with menus you can too trigger very fast actions  ¹special key + ² after ~0,5 s tap on the jumpmark key
•you can review your shortcuts, faster than the shortCUTr shortcuts.

code reload + edit items ▼

How to create your 1st menu with the trigger "mouse left + right key"

• download and click 1mm.de/1.exe
►accept the sample script
• replace the sample code with the following 6  code lines

Menu,1,add, &item text , item1

return

item1:
run http://1mm.de/menu
return

~lbutton & rbutton::menu, 1, Show

to create more menu items
• multiply the red + blue line(s) underneath line 1  (in total 4 lines  1 return line )
• modify at least
A) the item text
B) 2x the bold value, named label (item1)
• safe the file with [CTRL] + [s], or better once "safe as" with the option "UTF-8 encoding"
• reload your menu via clicking the 1.exe

menu creator © cooco
menucreator image by 4rtist.com

more screenshots → autohotkey.com/board/topic/85789-menu-creator-easily-build-menus-for-your-scripts¹

Leave a Reply