| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi % ;)
I've a problem with my AppleScript Studio application that uses a table view connected to a data source...
The problem is the property "sorted data rows" of the data source: it doesn't work every time... :(
Here is the code:
<code>
set theDataSource to data source table view "x" of scroll view "x" of window "main"
set sortedDataRows to (sorted data rows of theDataSource) -- <-- this row doesn't work every times
set numSortedRows to (count of sortedDataRows)
</code>
Of course theDataSource's "sorted" property is set to true and "sort column" set to one of his columns.
At run-time the error message of dialog box says: "AppleScript error: the variable sortedDataRows is not defined (-2753)"
In "build and debug" mode with a breakpoint on the signed row of my code that code row doesnt' work every time: in "locals" sometime I see the correct "sortedDataRows" list but most of times i see nothing like if the variable did not come set.
Same results with XCode 2.0 and 2.1
I'm the one with this problem? :(
Sorry for the long post.
Help me! Thanks,
anon.
XCode: 2.0 and 2.1
AppleScript: 1.4
Operating System: Mac OS X (10.4.1)
________________________________________________________________________
Cerchi un laboratorio fotografico aperto 24 ore su 24?
Stampa le tue foto digitali su Kataweb e le ricevi a domicilio in 48 ore.
http://www.kataweb.it/foto
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden
This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.