Does anyone know how to make log files with textedit? In windows, you can open a new document in notepad, type .LOG, save it, and everytime you reopen it, it will stamp a date/time. How can i do this with TextEdit?
I'm not a TextEdit expert, but I don't think it's possible. You could write a wrapper to append a timestamp and open the log file, but I don't believe TextEdit can do it by itself.
You could make a quick app using Automator. Add a Run Shell Script action. Pass input: as arguments. In the text box put something like:
Code:
echo >> $1
date >> $1
open -t $1
Pick an extension for your log files. I'd pick something less common than .log. Right click an example file, Get Info. Set the Open with: option to your automator app.