• 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
Re: Adding AppleScript support to a Cocoa aplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding AppleScript support to a Cocoa aplication


  • Subject: Re: Adding AppleScript support to a Cocoa aplication
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 24 Mar 2003 12:09:25 -0800

On Monday, March 24, 2003, at 11:26 AM, Arthur VIGAN wrote:

I would like to had simple support for AppleScript to my application (just "quit" and two other commands), but I didn't find any good sample to show me how to do this. Can anybody give me one?

Good news: AppKit handles the "quit" event for you, so you don't need to implement it yourself. If you need to override its default behavior, then you can write some NSApplication delegate methods. See NSApplication's documentation for details.

What other commands do you want to implement?

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://dreamless.home.attbi.com/

Smile! It confuses people!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Adding AppleScript support to a Cocoa aplication (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Compositing text over images
  • Next by Date: Re: Including headers from a framework?
  • Previous by thread: Adding AppleScript support to a Cocoa aplication
  • Next by thread: Re: Adding AppleScript support to a Cocoa aplication
  • Index(es):
    • Date
    • Thread