Apple Events in Cocoa
Apple Events in Cocoa
- Subject: Apple Events in Cocoa
- From: Brendan Younger <email@hidden>
- Date: Wed, 20 Jun 2001 14:57:44 -0500
I posted this once before but got no answer.
Does anyone know how to create apple events in cocoa for
inter-application communication? I can use NSScriptCommand to create a
command but I can't find any way to specify the receiver. I know it has
-setReceiversSpecifier but I don't know how to make a
NSScriptObjectSpecifier specify another application. Specifically, I
want to do some of the same things the dock does such as bring an app
frontmost, bring a specific window frontmost and get a list of an
application's windows. Please help.
Brendan Younger