-
AE ExtendScript: How to access the number of characters typed into an “edittext” GUI box.
Hi Dan!
I’ve created a simple GUI “edittext” box that allows 10 characters of user input. Now I’m trying to say “if there’s nothing in the text box, do actionA, however, if there IS something in the text box, do actionB.”
I’ve included a sample code to show what I’ve tried. I understand that the “.characters” probably refers to the 10 that I assigned to the “edittext” box, so that’s where I’m confused as to how I can check the characters that are manually typed in the “edittext” box.
Best,
Andyif (myTextInput.characters >= 1){
do actionA;
}else{
do actionB;
}
}