Copy link to clipboard
Copied
Okay this is what I want to achieve.
var win = new Window ("palette", "Get Cursor Position", undefined);
var groupOne = win.add("group", undefined, "Group One");
groupOne.orientation = "column";
var etOne = groupOne.add("edittext", [0,0,300,100], "I want to get the cursor information from here", {multiline : true});
var etTwo = groupOne.add("edittext", [0,0,300,100], "Insert this text to about EditText", {multiline : true});
var button = groupOne.add("button", undefined, "Just Do it");
win.center();
win.show();
I've two edittext elements.In first etOne I've some text. And I want to store the cursor position when it's being edited. And I want to insert the string from etTwo to etOne's last cursor position on Button click. How to do that?
http://estk.aenhancers.com/4%20-%20User-Interface%20Tools/types-of-controls.html
Search for EditText textselection property
Copy link to clipboard
Copied
http://estk.aenhancers.com/4%20-%20User-Interface%20Tools/types-of-controls.html
Search for EditText textselection property
Find more inspiration, events, and resources on the new Adobe Community
Explore Now