I would like to start generating a log each time a script is run to log the number of files processed and the time the script spent processing those files.
I have this script as a start…
set StartTime to current date MySubroutine() --Example handler set EndTime to current date set SubRoutineTimeDuration to (EndTime - StartTime) on MySubroutine() read (choose file) end MySubroutine
We have many users of these scripts, but they run them off of their desktops and not off of a server. Could I start collecting this data from the users machine and start a running log of: The script used, the user, the time the script spent processing the files, the number of files processed?
would it be best to have the user keep a folder on their desktop that has actions set up to send the log file to a server or would there be a better way?
I realize the above script is a far way off, I just need a starting point.
Browser: Safari 525.27.1
Operating System: Mac OS X (10.4)