• 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: NSDistributedNotifications and scripting languages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDistributedNotifications and scripting languages


  • Subject: Re: NSDistributedNotifications and scripting languages
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 1 Aug 2008 17:58:56 -0700


On 1 Aug '08, at 3:11 PM, Recent Chaos Software wrote:

I was wondering if anyone had any ideas about sending notifications to Cocoa applications using either Ruby, or PHP? I want to send notifications using a cocoa application to another cocoa application and / or send notifications from a web based application.

AppleEvents are the standard way to do this. Cocoa's scriptability APIs make it pretty easy to implement AppleEvent/AppleScript support. From Ruby you can use the bridge to invoke AppleScript, and from any language you can launch an AppleScript as a separate task or use the 'osascript' tool to send raw AppleEvents.


—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >NSDistributedNotifications and scripting languages (From: Recent Chaos Software <email@hidden>)

  • Prev by Date: Re: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
  • Next by Date: Re: [Q] is NSFileHandle's writeData method faster than the FSWriteFork?
  • Previous by thread: NSDistributedNotifications and scripting languages
  • Next by thread: Re: NSDistributedNotifications and scripting languages
  • Index(es):
    • Date
    • Thread