Open topic with navigation
|Example: ctrx_menu_select_item||Selection Functions|
Highlights a menu item.
int ctrx_menu_select_item( char *window_name, char *menu_path, [CONTINUE_ON_ERROR,] CTRX_LAST) ;
|window_name||The title of the window in which the menu appears.|
|menu_path||The full path of the menu.|
|CONTINUE_ON_ERROR||A constant, entered as shown without quotes. Overrides the error behavior run-time setting for this step so that script behaves as though the run-time setting was Continue on error.|
|CTRX_LAST||A marker that indicates the end of the argument list.|
ctrx_menu_select_item highlights an item in a menu, but does not activate it.
The window should be in the foreground when the ctrx_menu_select_item is called.
ctrx_menu_select_item is available only if the agent is installed on the Citrix server.
The menu path consists of all the items at each menu level that are selected to activate the selected. Levels are separated by a semi-colon ( ; ). The text of each level is passed to ctrx_menu_select_item exactly as it appears, including the periods that separate the menu item from the short-cut, and the short cut. The spaces in the menu can be replaced with a single white space.
Parameterization is available for all arguments of this function.