Example: ctrx_get_text

This example gets text from the "About Notepad" dialog in the "text_buffer" parameter.

ctrx_obj_mouse_click("<text=Untitled - Notepad class=Notepad>", 15, 32, LEFT_BUTTON, 0, "Untitled - Notepad=snapshot3", CTRX_LAST );
ctrx_sync_on_window("104_37_118_50", CREATE, 104, 37, 118, 50, "snapshot4", CTRX_LAST );
ctrx_obj_mouse_click("<class=#32768>", 141, 82, LEFT_BUTTON, 0, "Untitled - Notepad=snapshot5", CTRX_LAST );
ctrx_sync_on_window("About Notepad", ACTIVATE, 30, 71, 420, 330, "snapshot6", CTRX_LAST );
ctrx_get_text("About Notepad", 93, 105, 219, 74, "snapshot8", text_buffer, CTRX_LAST );