| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jul 12, 2004, at 10:44 PM, James J. Merkel wrote:
Ok that fixed at least one thing -- Script Editor now shows metadata 1 as the returned value after running the extract command. However, I still can't use get (or set) commands on my object. I still get an "NSInternalScriptError" error on these commands. It seems like AS commands are not getting to my object. Are AS commands sent to the NSApplication and I have to somehow forward them to my object?
Making a little more progress. I added the following to a delegate of NSApplication:
- (BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key
{
NSLog(@"key = %@", key);
return [key isEqualToString:@"metadata"];
}
-(id)metadata{
NSLog(@"metadata method called");
return [ExifInfo self];
}
I'm not sure what the metadata method should really do. The above was just a WAG.
| References: | |
| >AppleScript create command (From: "James J. Merkel" <email@hidden>) | |
| >Re: AppleScript create command (From: "James J. Merkel" <email@hidden>) | |
| >Re: AppleScript create command (From: Dustin Voss <email@hidden>) | |
| >Re: AppleScript create command (From: "James J. Merkel" <email@hidden>) | |
| >Re: AppleScript create command (From: "James J. Merkel" <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.