Example: nca_obj_mouse_click

In the following example, the nca_obj_mouse_click function clicks the REQ_LINES_CURRENT_RECORD_INDICATOR_0 object in the Find Requisition Lines (Vision Operations) window.

nca_set_window("Find Requisition Lines (Vision Operations)");
nca_button_press("FIND_REQ_LINES_CLEAR_0");
nca_button_press("FIND_REQ_LINES_FIND_0");
lr_think_time(17);
nca_set_window("AutoCreate Documents (Vision Operations)");
nca_obj_mouse_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,12,
MODIF_SHIFT);
nca_obj_mouse_dbl_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,
12,MODIF_SHIFT);
nca_obj_mouse_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,12,
MODIF_ALT);
nca_obj_mouse_dbl_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,
12,MODIF_ALT);
nca_obj_mouse_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,12,
MODIF_CONTROL);
nca_obj_mouse_dbl_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,
12,MODIF_CONTROL);
nca_obj_mouse_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,12,
	MODIF_CONTROL);
nca_obj_mouse_dbl_click("REQ_LINES_CURRENT_RECORD_INDICATOR_0",2,
12,MODIF_CONTROL);