I want that form recognize new line character. (like '\n')
So I programmed like this. But it's not working.
//////////////////////////////////////////////////////////////////////////////
var win =new Window ("dialog", "test");
win.orientation = "column";
var form1 = win.add ("edittext", undefined, "");
form1.onChanging = function(){
if(form1.text.search("\n") == true){
form2.active = true;
}
}
var form2 = win.add ("edittext", undefined, "");
var form3 = win.add ("edittext", undefined, "");
win.show();
//////////////////////////////////////////////////////////////////////////////
How can i make it auto line alignment in ScriptUI?
Is it possible?