• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AppleEvent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleEvent


  • Subject: AppleEvent
  • From: "email@hidden" <email@hidden>
  • Date: Wed, 7 Mar 2007 12:40:11 +0100

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


  • Prev by Date: Re: "exponent" action in NSTextView subclass
  • Next by Date: Re: question about custom cursor
  • Previous by thread: NSWindowController and nib owner in document-based app
  • Next by thread: Re: AppleEvent
  • Index(es):
    • Date
    • Thread