| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| That descriptor is corrupt -- whoever made it is putting UTF-16 data in, but claiming that it's typeText, which is some other encoding (to you, probably Mac OS Roman). -stringValue would be doing the right thing if not for that. Incidentally, getting a particular value out of an AERecord (or an AppleEvent, such as you have) using -descriptorAtIndex: is not reliable, since there may be other items, and they're not guaranteed to be in any particular order. Use "descriptorForKeyword:'----'" instead. --Chris Nebel AppleScript Engineering On Nov 2, 2007, at 8:09 AM, Ivan C Myrvold wrote:
|
_______________________________________________ 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
| References: | |
| >Extract text out of NSAppleEventDescriptor (From: Ivan C Myrvold <email@hidden>) | |
| >Re: Extract text out of NSAppleEventDescriptor (From: Ivan C Myrvold <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.