Example: nca_lov_select_random_item
In the following example, the nca_lov_select_item function selects a random item from the list of values in the Journals window.
char selected_item[256]; nca_edit_click("GLXJEENT.FOLDER_QF.BATCH_NAME.0"); nca_button_press("GLXJEENT.TOOLBAR.LIST.0"); nca_lov_find_value("Journals", ""); nca_lov_retrieve_items("Journals",1,8); nca_lov_select_random_item("Journals",selected_item); lr_output_message("The selected item was %s\n", selected_item);