• 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: AppleEvent Logging; how to log to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleEvent Logging; how to log to file


  • Subject: Re: AppleEvent Logging; how to log to file
  • From: Ed Stockly <email@hidden>
  • Date: Mon, 15 Dec 2008 11:04:43 -0800



In an effort to debug this thing once and for all I'm running the script manually (through several hundred iterations) using Script Debugger with the Apple Event Log window open and logging All Events and Replies. My problem is that when the Apple Event Log window is open Script Debugger begins to run slowly after a hundred or so iterations and I'm afraid that this slowdown is affecting my results.

Try updgrading to the newest version of SD. It handles many tasks better and faster.



Is there a way to automatically log all apple events (as well as all log AppleScript commands) to a file rather than displaying them onscreen? I realize that this is a drastic debug measure, but I'm at the point where I need all the data I can get from this script without significantly altering it.


This is something I've wanted for years. You can log apple events in Script Editor and Script Debugger, but I would like to be have the option for scripts or applets do that at runtime as well.

The logging option provided here is really inadequate.
http://developer.apple.com/documentation/Applescript/Conceptual/AppleEvents/debugging_aepg/chapter_9_section_4.html

It only monitors apps launched by a terminal window. If your script lanches multiple applications or has any complexity this isn't useful. You'd need to launch the script from a terminal, as well as each app and what's logged is not as useful as what you get from SD.

ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: AppleEvent Logging; how to log to file
      • From: Chris Page <email@hidden>
References: 
 >AppleEvent Logging; how to log to file (From: Zack Jarrett <email@hidden>)

  • Prev by Date: Re: Excel change by 1 month
  • Next by Date: Floating point limits in AppleScript
  • Previous by thread: Re: AppleEvent Logging; how to log to file
  • Next by thread: Re: AppleEvent Logging; how to log to file
  • Index(es):
    • Date
    • Thread