• 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: Intercepting Apple Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercepting Apple Events


  • Subject: Re: Intercepting Apple Events
  • From: Michael Hall <email@hidden>
  • Date: Thu, 10 Jul 2008 17:30:06 -0500


On Jul 10, 2008, at 12:24 PM, Elan Feingold wrote:

Hi,

I'm writing an application that would like to intercept Apple Events sent to iTunes, and possibly even reply with its own replies (say, if iTunes isn't running). Is such a thing possible?

A very limited way might be with the debug environment variables.
e.g.
macosxhints.com Monitor AppleEvents an application sends and receives
http://www.macosxhints.com/article.php? story=20030430145833233&query=bugs


The application would need to be running.
You would probably have to parse it's events from the Console. tail command or whatever,
If you launch it you could probably control the setting of the environment variables and not require the application to be Terminal launched?
Or you could possibly change the Info.plist using LSEnvironment. Although thats still not a really convenient thing to ask a user to do.


Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative



_______________________________________________

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: 
 >Intercepting Apple Events (From: Elan Feingold <email@hidden>)

  • Prev by Date: Re: Drawing issues in custom view
  • Next by Date: Re: Mini Popup Window (Like iCal)
  • Previous by thread: Re: Intercepting Apple Events
  • Next by thread: Re: Intercepting Apple Events
  • Index(es):
    • Date
    • Thread