AppleEvent
AppleEvent
Hallo,
I'm trying to use AppleEvent in my cocoa application.
One question:
if I want to send to my Apps an apple event, I have to set particular
option to my apps?
For example, I've found this code, and I'm trying to create my
appleevent with this example...
-(id) init {
[super init];
NSAppleEventManager* m = [NSAppleEventManager
sharedAppleEventManager];
[m
setEventHandler:self
andSelector:@selector(handleAppleEvent:withReplyEvent:)
forEventClass:kAEInternetSuite
andEventID:kAEISGetURL];
return self;
};
- (void)handleAppleEvent:(NSAppleEventDescriptor *)event
withReplyEvent:(NSAppleEventDescriptor *)replyEvent {
NSLog(@"we are handling!");
}
But,
I'm trying to send apple event from filemaker.
But I can't choose my apps, because filemaker don't know it.
I have to set options, such as scriptabiity to send apple events?
thanks...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden