Great Forum. I have been looking for a place to ask questions and get help with AppleScript, and my search has landed me here…
I have been working with AppleScript for about a year now. My main experience is with Bash scripting, but with the power of AppleScript Studio on OS X, I couldn’t resist the call.
I am working on a small application right now that lists every folder with in a given folder and allows the user to manipulate these folders. I am using Table View to display the contents and I have my project working great – on 10.3 – and I used XCode 1.5 to build this little app and my programming machine OS is 10.3.4.
When I try to run the App on 10.2.8, nothing draws in the Table. All the other controls work fine, and I can even select things in the table, but I can’t see them? On my 10.2.6 machine, nothing draws in the Table and I can’t select anything.
I am stumped by this problem. I looked at interface builder and made sure that I was using the “Both” compatibility format so I can use pre10.2 and later interface elements, but that didn’t seem to work. I changed my XCode projects build SDK to use 10.2.8, but that didn’t seem to work. What am I missing, and how can I make my app work the same on both systems? I am not useing any System Events or any calls (That I know of ) that are specific to the latest version of Apple Script.
You need to make sure that you’ve named all of the columns in your table view in IB and, further, if you use a record to fill the table, make sure that the labels in your record are exactly the same as the names as the columns names.
I tried what you said, but it didn’t work, I still get a blank table on my 10.2.x systems. i have a text field in the app that displays the name of the currently selected field and that field updates with the names I would expect to see in the table as I select different rows up and down the table, but I just can’t see the contents of the rows? I went back into interface builder and turned off all of the alternate row, and horizontal line stuff, and made sure that my column was named correctly, but no change. I have even experimented with fonts, font color, and background color, but I still can’t seem to make anything work. There is only one column in the table and a vertical scroll bar.
This app needs to work on 10.2.6 - 10.3.x systems, and so far i have the 10.3 systems nailed, just need to get this last piece happening…
I’ve had this problem before and it is cured by naming the table columns, really. Make sure that the names of the columns have truly been saved in IB and that they match the record labels (if you’re loading your table’s data source with with data by using the “append” command and using records for this) including case sensitivity. If you continue to have problem, can you post your project online?