Re: AppleEvent
Re: AppleEvent
- Subject: Re: AppleEvent
- From: Matt Neuburg <email@hidden>
- Date: Sun, 11 Mar 2007 09:25:07 -0700
- Thread-topic: AppleEvent
On Wed, 7 Mar 2007 12:40:11 +0100, "email@hidden"
<email@hidden> said:
>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?
<http://www.filemaker.com/help/ScriptsRef-266.html>
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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