Reading Text

  1. Change the toolbar pushbutton and the related function on the Easy Access screen as follows:
    pushbutton([TOOLBAR], "Read",{ "process":read_test});
    			function read_test() {
    println("Reading content!");
    	if(z_line == void 0 || z_line == "") {
    		return("Please enter line number.");
    	}
    	set("V[z_temp]" , "&V[z_line]");
    	copytext({"fromtext":"z_copyfrom","tostring":"z_read","line":z_temp});
    	println("Content read!");
    }
    When you click the pushbutton, the text corresponding to the line number you entered will be copied into the read-only field on the Easy Access screen.
  2. Enter some text into the z_copyfrom textbox.
  3. Click the pushbutton to initiate the copy process.

The text you entered will be copied to the read-only field on the Easy Access screen as shown below: