home *** CD-ROM | disk | FTP | other *** search
-
- bat * Log name and application into a LOG file using EBL
- bat *
- bat * This sample file creates a LOG.T file containing an entry for
- bat * each action a person does. Each entry in the log file looks like:
- bat *
- bat * "TIME - NAME - APPLICATION"
- bat *
- bat * The application can come from a menu, and the user from an initial
- bat * "Please enter your ID" request. The time is automatically derived
- bat * by using the system TIME command. By doing a "call -logit" anywhere
- bat * within your EBL file, these three things will be appended to the
- bat * end of the current log file.
- bat *
- bat %N = Betsy |*Name of user.
- bat %A = wordstar |*Application the person is using.
- bat call -logit
- bat type %N's actions have been saved in a log called "LOG.T"
- bat exit
-
- bat -logit
- bat stack
- time
- bat readscrn
- bat readscrn |* read back time from system command.
- bat readscrn
- bat readscrn %i %i %i %i |* in time cmd, time is on 4rd line 4th word.
- bat stack %i - %n - %a |* prepare the items for the CON: device below
- bat begstack |* CON: must terminate with F6 key here.
- \00\40
- end
- copy log.t+con: log.t
- bat return
-