I am having no success testing for ShiftDown and the various other on-select related properties.
for example both the following issue an empty alert box regardless of the status of the shift key:
myMenuItem.onSelect = function () {alert(this.ShiftDown)}
myMenuItem.onSelect = function () {alert(myMenuItem.ShiftDown)}
I want to be able to do both of:
1. When the menu command is clicked with say ShiftDown, it toggles the checked status.
2. When the menu command is clicked with say ShiftDown, it does something different from when ShiftDown is false.
I was going to ask about that mymenucommand.onSelect = function (menu) {}
Is that normal JS syntax, haven't seen it before. 'menu' is undefined and yet appears to behave like it is some sort of object. Also, if that is the case is it's scope that of the parent.