[comp.sys.mac] Program to make log.

holst@diku.dk (Bo Holst-Christensen) (02/15/88)

   I am planning to write a small piece of code to save information about
which Macintosh applications has been run and at what time. The
information must be saved in a textfile, and should not loose information
when a bomb occurs, so the file must be opened and closed each time the
user changes program.
   To be able to get the information, the code will have to run in the
background, and therefore be placed in the system heap, and could be an
Init or a DA.
   I was considering to use the TimeManager, but as far as I can see, this
may cause a few problems.
   As the user has to put other information in the textfile (to comment the use of an application), I have to make a DA (or a cdev) to insert the
comments in the file.

   As the only programs I have made for Macs are normal applications, I
would like to know if others have tried something similar, and which
method (DA or Init/cdev) you think is the best for solving the problem.

   Thanks in advancen
   Institute of Datalogi (DIKU)
   University of Copenhagen

   UUCP: ....!uunet!mcvax!diku!holst