Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid Key Form -10002



Andrew Madsen wrote:

Subject: Invalid Key Form -10002

I don't quite understand what "Invalid Key Form" means


See keyAEKeyForm:

	http://developer.apple.com/DOCUMENTATION/mac/IAC/IAC-107.html

If I had to guess: you're trying to refer to an item in a Core Data collection, but Core Data uses NSSets, which are unordered (non- indexed), so Cocoa Scripting errors when it tries to resolve a by- index specifier against the NSSet.

BTW, this might be of interest:

	http://scriptcoredata.sourceforge.net/

HTH

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden

This email sent to email@hidden


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.