• 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: Send an event to another app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Send an event to another app (From: Alex Kac <email@hidden>)
 >Re: Send an event to another app (From: Nick Zitzmann <email@hidden>)
 >Re: Send an event to another app (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: Send an event to another app
  • Next by Date: Re: Undo and Core Data issue
  • Previous by thread: Re: Send an event to another app
  • Next by thread: Re: Send an event to another app
  • Index(es):
    • Date
    • Thread