Productivity: Quick-Log Your Work in a Plain Text File
Productivity: Quick-Log Your Work in a Plain Text File
If you often need to jot down quick notes or are taking meeting minutes, this awesome Lifehacker.org productivity hack could well be the thing for you. Rather than opening up an application, the Quick Logger VB script displays a single input box prompt (see below) where you can enter text (e.g. the description of your current task) and append it to your work log. When you press Enter (or click OK), the text you entered is added to your work log file with the current date and time.
Here’s how to get Quick Logger set up:

- Using your favorite text editor, create a new text file called worklog.txt in your documents folder. Save this file.
- Create a second new text file called quicklogger.vbs. Enter the following code into the file:
Option Explicit
Dim filename
filename = “C:\Documents and Settings\…\worklog.txt”
Dim text
text = InputBox(“Add to “&filename&”:”, “Quick Logger”)
WriteToFile(text)Sub WriteToFile(text)
Dim fso
Dim textFile
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set textFile = fso.OpenTextFile(filename, 8, True)
textFile.WriteLine Now & ” ” & text
textFile.Close
End Sub
- Save the .vbs file to your documents (or scripts) folder
- Edit the line in quicklogger.vbs that reads: filename = “C:\Documents and Settings\…\worklog.txt”, replacing with the path to your worklog.txt file
- Right-click on quicklogger.vbs and select Send To > Desktop (Create Shortcut)
- Right-click the quicklogger.vbs shortcut on your Desktop and select Properties. In the Properties panel, set the Shortcut Key to Ctrl+Alt+L by simply typing L (Windows fills in Ctrl+Alt for you) and press OK.
Now, to append an item to your work log, just press Ctrl+Alt+L, enter your current task in the text box, and press Enter.
Cheers,
Vaibhav
Related posts:
- Some quick Firefox Tips and Tricks
- [File Conversion] Zamzar now allows you to convert text, documents and PDF to MP3 Format
- Repair Common Windows XP Issues With XP Quick Fix Plus
- [How-To] Shrink Excel Text
- [How-To] Change File Association Types in Windows XP
I needed to add a hard return immediately following ‘WriteToFile(text)’
Hey All ! ! !
You have health problems, you have difficulty in choosing medicines,
visit DoctorTabs,
and your problems instantly disappear!
This sounded like just what I needed – I’m big on shortcut keys. I tried keeping a log of what I do on the computer by using a notepad file w/ LOG typed on the first line [that puts in the date automatically] but I find I don’t stop to open the file – the desktop [w/ the shortcut to the file] loads slowly on this computer.
I followed the instructions, but I get an error message when I press the shortcut keys. It’s at Line 5, char 37 of the vbs file- there’s a colon there. Error = expected ‘)’ Code =800A03EE. I tried replacing the “:” w/ a “)”, but it didn’t like that either so I put the : back.