Re: AppleEvent Logging; how to log to file
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