AVOLITES TITAN API

SetItemPageAndClearOthers

Sets all menu items to a specified page except the one selected which is set to itemPage.

Namespace: Menu

Syntax

MACRO

Void Menu.SetItemPageAndClearOthers(IMenu menu, Object selectedItemIdentifier, String itemPage, String clearPage)

HTTP

http://[ip]:4430/titan/script/2/Menu/SetItemPageAndClearOthers?menu={}&selectedItemIdentifier={}&itemPage={string}&clearPage={string}

Parameters

menu ( IMenu ) : Menu to process

selectedItemIdentifier ( Object ) : The selected item identifier. This must alias to the selected item's id.

itemPage ( String ) : Page to set the selected item to

clearPage ( String ) : Page to set the other items to