| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi all, I'm tearing out (what remains of) my hair here - I wonder if anyone can help me out? I have a simple interface - one window with two table views one above the other. The top table view is filled using MacSQL Framework, the bottom one is filled using a normal Xcode data source. They are identical in every other way. This is all working fine. I'm having trouble getting AppleScript to pull information out of the data sources/table views. I assume this is because the data sources behave differently in some way I'm not aware of. I get this error message; Can't make «class datR» 1 of «class cQdS» 1 into type reference. (-1700) Code sippets are below. Can anyone point out the (probably) dumb mistake I'm making? Any help would be greatly appreciated. Thanks in advance Rob --this code works fine on the table view filled by a 'normal' data source tell window 1 tell scroll view "bottom_scroll" tell table view "bottom_table" set theDS to data source 1 tell theDS set theRow to data row 1 set theContents to (contents of data cell 1 of theRow) display dialog theContents end tell end tell end tell end tell
--this code doesn't work on the table filled through MacSQL Framework. tell window 1 tell scroll view "top_scroll" tell table view "top_table" set theDS to data source 1 tell theDS set theRow to data row 1 set theContents to (contents of data cell 1 of theRow) display dialog theContents end tell end tell end tell end tell |
_______________________________________________ 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.