Re: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
Re: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
- Subject: Re: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 01 Jan 2016 00:31:59 +0000
- Thread-topic: Where Do Apple Event Log Entries Go if not Running in a Script Editor?
> On Dec 31, 2015, at 3:42pm, Shane Stanley <email@hidden> wrote:
>
> On 1 Jan 2016, at 5:30 AM, S. J. Cunningham <email@hidden> wrote:
>>
>> The Bit Bucket?
>
> No -- there aren't any log entries.
I always (since System 7) thought it would be cool to be able to do something like this:
Turns out you can trap a log command, but can’t really do anything with it. It just prevents the script editor from logging.
log "hello world"
on log
beep
— my routine for creating and updating a log file would go here with the value that would be logged
continue log— sends the logged value to the AE log in the script editor
end log
_______________________________________________
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