• 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: Xcode Events for External Editors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Events for External Editors


  • Subject: Re: Xcode Events for External Editors
  • From: Bill Monk <email@hidden>
  • Date: Fri, 2 Sep 2005 13:03:49 -0600

how can my app know all Apple events it gets

This won't help in code, but you can at least get a log of received events.


In Xcode, Get Info on the executable. In the Arguments tab, in the lower pane, add AEDebugReceives to the environment vars, with a value of 1.

Close the info panel and click Debug . While gdb is cranking up, click the Console button in the Debugger window.

Send Apple events to the app. They will be logged in the console, in AEPrint format. This works regardless of whether a handler is installed for a particular event.

So it looks like Xcode sends some events, which BBEdit and Text
Wrangler are aware of and send back some result-events (which?).

From the command line, you could attach gdb to BBEdit with both the AEDebugSends and AEDebugReceives environment variables set. That should give a log of all AEs in and out.


Technotes 2124 and 2030 will help with this.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: RE: Problem adding .lproj folders to xcode projecjt
  • Next by Date: .xcconfig
  • Previous by thread: Re: Xcode Events for External Editors
  • Next by thread: Can we make "solutions" with XCode?
  • Index(es):
    • Date
    • Thread