For reference, ahk v2 docs, Menu object. This is excellent, both in regards to the documentation and usage .
Minor comments, questions, suggestions...
- Perhaps add an parameter for the function, similar to the (event sink) parameter.
- I wonder if there are any plans on adding features, such as additional properties ((I did see the count example) , , ...? ) and/or an enumerator?
- I like the property better than file object's , why the double underscore?