Re: Stay open Apple Script to track all events
Re: Stay open Apple Script to track all events
- Subject: Re: Stay open Apple Script to track all events
- From: What does not kill you only makes you stronger <email@hidden>
- Date: Sat, 10 Feb 2001 11:10:51 -0600
on 02/09/01 12:09 PM, email@hidden wrote:
>
I there a script out there that stays open and just records any apple
>
events that occur?
>
>
I am trying to make sure that scripts are indeed firing off over night
>
at the appropiat times.
>
>
It would also need to record shut down and restarts as well.
>
>
thanx
Why not just make your script write to a text file, and append a date/time
string to the same line..
That way you can check the text file to see exactly what is happening, and
what is not. I would also add to the error trapping to write errors to the
same file.. This should provide you with a pretty accurate idea of what is
happening..
(BTW: If you were to record apple events you would probably get far more
data than you bargained for. ;@)
on run
--do stuff
--write to text file time script started
end run
on idle
--do stuff
--write to text file time something was done
end
on quit
--write to text file time script quit
continue quit
end