This is a simple AppleScript designed for use with QuickSilver to log text to a file with a date and timestamp.
Instructions for use...
- Edit the script to set your file path appropriately. Mine is set to write output to my "log.txt" file in my "taskpaper" folder under Dropbox.
- Open up script editor, paste in the script.
- Save it to your ~/Library/Application Support/Quicksilver/Actions folder as something like LogIt.scpt. If the actions folder doesn't exist, go ahead and create it.
- Restart Quicksilver.
- Invoke Quicksilver, type ".", type your text, TAB, type "LogIt", hit enter. Voila, your text is appended to your log file with the date & timestamp at the beginning of the line.
For bonus points, set the "Open With..." setting on your log file to always open with the Console app. That way, when you view this file, you'll have quick access tools for filtering and searching through the file.
I've followed the howto and doesn't work for me. Where can I find a log file with errors? I've set permissions on script to 755. Should be simple, right?