Text fields....

it should be easy…I feel kind of stupid but… does anyone know how to add a character on a text field without erasing the content? I mean if the current text is “a” and I want to add a “b”, the result would be “ab”. The set commands just erase the contents and replace it. AH! and I don’t want to store it into a variable previously…come on! there got to be a method to “add” to a text field, no?..just wonder

saludos from Argentina! :lol:

set CurrentVar to contents of text box “TextBoxName” of window “WindowName”
set contents of text box “TextBoxName” of window “WindowName” to “a” + CurrentVar

hopefully that’ll do the trick… :slight_smile: