| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
| Looks like the string is not empty at all. The length of the string is correct, 188, but when I look at the chars, they alternate between 0 and the chars ASCII code: NSString* returnObject = [[[replyDescriptor descriptorAtIndex:1] descriptorAtIndex:1] stringValue]; (gdb) p (char)[returnObject characterAtIndex:0] $1 = 0 '\000' Current language: auto; currently objective-c (gdb) p (char)[returnObject characterAtIndex:1] $2 = 68 'D' (gdb) p (char)[returnObject characterAtIndex:2] $3 = 0 '\000' (gdb) p (char)[returnObject characterAtIndex:3] $4 = 101 'e' (gdb) p (char)[returnObject characterAtIndex:4] $5 = 0 '\000' (gdb) p (char)[returnObject characterAtIndex:5] $6 = 116 't' (gdb) Den 2. nov.. 2007 kl. 12:35 skrev Ivan C Myrvold:
|
_______________________________________________ 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>) |
| 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.