OnScreenMenu (OSM)

Меню открывается комбинацией Ctrl+Alt+M или кнопкой Setup/Display с дистанционки.
Используйте стрелки/Enter/Esc на клавиатуре или Prev/Next/Enter/Cancel на дистанционке.

См. также скрипт OSM.scs


Events:

Default type: "OSM"
Event Value: 0
Event ID:
"ONSHOW"
"ONHIDE"
<Item ID> - Pressed Enter on selected item
_<Item ID> - Select item
<Item ID>_ - Deselect item


Actions:

OSM( "<Command>" )

Commands:
"LOAD" [, <profile>]
"GET_FOREGROUND" - returns handle of foreground window (not OSM)
"ISACTIVE" - returns 1 if OSM is active
"SHOW" [, <active item> ]
"HIDE"
"ENTER"
"CANCEL"
"CLEAR", <parent item> - delete all subitems
"ADD_BASE", <item>
"ADD", <item>, <id> [, n] - add subitem to BASE item

Use Setup to configure OSM.
Specify items ID as <TYPE>:<ID> to feign events which type differs from OSM


Examples:


OSM( "CLEAR", "Applications" )
OSM( "ADD_BASE", "Applications" )
OSM( "ADD", "Winamp", "AUDIO:WINAMP" )
OSM( "ADD", "Winamp 3", "AUDIO:WINAMP%d", 3 )