Re: Send an event to another app
Re: Send an event to another app
- Subject: Re: Send an event to another app
- From: "Kyle Sluder" <email@hidden>
- Date: Thu, 6 Mar 2008 00:08:35 -0500
On Wed, Mar 5, 2008 at 11:47 PM, Alex Kac <email@hidden> wrote:
> I actually thought of that first - even though I'm a Win32 dev, I am a
> constant Mac user since 1994. But I'm not an AppleScript expert and I
> kept getting errors saying it didn't understand the message. I do know
> the app I'm working with is Cocoa based so I would assume its
> NSDocument based. Lots of assumptions.
Unless the app you're trying to control exposes itself through
AppleScript, Apple Events (which AppleScript is a pretty interface
for), or some other IPC mechanism, you can't cause things to happen in
it from another application.
--Kyle Sluder
_______________________________________________
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