Hi Folks,
may you can help me out with the following:
set text_sms to contents of text view "text" of scroll view "text" of tab view item "Outbox" of tab view "tab" of window "main" as string
the input of the scroll view will be presented in the variable text_sms
No I try to limit the variable to 160 chars:
set text_sms to (characters 160 thru 160 of text_sms) as string
or
set text_sms to (characters 1 thru 160 of text_sms) as string
or
set txt_sms to text_sms for 35
Does anybody knows the correct syntax?
Thanks for your help,
Stefan