Example: ctrx_sync_on_text

In this example, ctrx_sync_on_text causes script execution to pause until the text "OK" appears at the location of the command button.

ctrx_sync_on_text(421, 368, "OK", TEXT, "NULL=snapshot67", CTRX_LAST );
ctrx_obj_mouse_click("<class=Button text=OK>", 421, 368, LEFT_BUTTON, 0, "NULL=snapshot67", CTRX_LAST );