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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to