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