Hello
I would like to create a list of name, to know how to create it and know syntax, and then to post them with XCODE in a scroll view.
Excuse my English, I am French.
Thank you
Hi,
I haven’t used Scroll Views before, but quick experimentation yielded success with the following script:
set MyStr to {"Name1", "Name2", "Name3", "Name4", "etc"}
set ASTID to AppleScript's text item delimiters
set AppleScript's text item delimiters to return
set MyStr to MyStr as text
set AppleScript's text item delimiters to ASTID
set contents of text view of scroll view "MyScroll" of window "Main" to MyStr
Was this what you had in mind?
I’m sure there are neater ways to populate scroll views, but hopefully this is a start.
PJ.