Forums | MacLife
You are not logged in.
#1 2008-12-20 10:33 pm
In this thread I ask questions about AppleScript Studio...
I'm new. To programming AppleScript Studio that is. My main programming knowledge is all BASIC. QuickBASIC more specifically as well as some VisualBasic and a bit of PHP and JS.
I'm working on an app in AppleScript Studio (Takes too long to type.. can I call it ASS?) but even Google isn't helping much with some of the harder stuff..
My first question is how do I populate a Table View? (Also known as NSTableView.)
Say I have a text file whose contents might be something like this: (But not at all. This is just an example)
Code:
Item one! Item two! Item three!
I load the contents into a variable, I call it "theContents" for example. So now I have a string called "theContents" that contains everything in that text file. Good. Now... how do I move all that into a Table View?
For example, I want a table view (Which is just a multi-column list) to contain say three items consisting of each of the lines from the above text file. I am explaining this much harder than I should. I'm sure someone understands what I want to do. Take the multi-line string I just retrieved and place each line into the table one by one so I end up with a table (list) populated with the items in the file.
I have more questions, but this is my first.
Offline
#2 2008-12-25 6:36 am
Re: In this thread I ask questions about AppleScript Studio...
No one? The internet has failed me and this seems like it should be an easy topic. 
Offline
