Re: logging to a file?
Re: logging to a file?
- Subject: Re: logging to a file?
- From: Gnarlodious <email@hidden>
- Date: Fri, 12 Nov 2004 17:33:13 -0700
Title: Re: logging to a file?
Entity Aaron Rosenblum spoke thus:
> I have this code that I want to log to a file.
set logString to (do shell script "date | awk '{print $2, $3, $4}'") & " - " & "someText"
do shell script "echo " & quoted form of (logString as text) & ">>$HOME/DATE.log"
Note: doubleclicking the logfile opens it in Console.
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden