I've added the following lines to my script:
Javascript code:
var MOD_ALT = 0x1;
var MOD_CONTROL = 0x2;
var MOD_SHIFT = 0x4;
var WndSbc = MsgPlus.CreateWnd("Windows.xml", "WndSubclass", 2);
RegisterHotKey(WndSbc.Handle, "OpenMenu", MOD_ALT + MOD_SHIFT, 0x4D);
...but the debugger shows "Error: Object expected (code: -2146823281)".
Do I need to register the hotkey with the window, like this:
Javascript code:
WndSbc.RegisterHotKey(WndSbc.Handle, "OpenMenu", MOD_ALT + MOD_SHIFT, 0x4D);
EDIT: updated the top code (included Alt/Control/Shift variables) - still doesn't work, though.