Quantcast
Channel: AutoHotkey Community
Viewing all articles
Browse latest Browse all 579

Ask for Help (v2) • Embed comment in menu?

$
0
0
I tried embedding a comment in a menu by pointing a fat arrow function to 'nothing.' It seems to work, but is this okay to do?? I don't want to cause a memory leak or some kind of other issue.

CODE:

#SingleInstance
#Requires AutoHotkey v2+
Persistent

acMenu := A_TrayMenu
acMenu.Add('Comment', (*) => )
acMenu.Add('Apple', itemfun)
acMenu.SetIcon('Apple', 'apple_red.ico')

Statistics: Posted by kunkel321 — Today, 15:38



Viewing all articles
Browse latest Browse all 579

Trending Articles