Hi guys,
I'm trying to write a clock, which will become a mac application. Its purpose is to keep track of how long you have been working on any particular project.
My current problem is that every time I open the patch it starts the timer over again. i want it to read and write to and from a .txt file so that each time you came back, it picks up counting the time from where it last left off.
So I've got the read.write to the log file thing down, but currently I have a problem. When the user closes the app, I want it to write the time to the log file and then close, but I don't know how to do it.
any ideas?