Dec 15
I was checking out Slacker Manager yesterday and read an interesting post about using a script to quickly append notes to a text file. Now, with the super duper power of EverNote at my disposable, why would I be interested in such a thing? Well, it turns out that every now and then I want to capture information quickly, but don’t want to bring it into my system. In addition, I’m sometimes on a different computer, where I don’t have EN installed. Using a quick scripting way to keep time-stamped notes just might be very useful for me. In my dream world, the only thing I would have to bring onto the new computer would be the script itself - I wouldn’t have to install any other software to make it run.
Now, Slacker Manager makes use of ActiveWords, which I don’t. He used to have his own way of appending quick notes to a text file, but he came across this awesome VBS script by a reader of his, Joshua Fitzgerald. See the original Slacker Manager post for how to download, install, and use the script. Originally, it was suggested that this script would be triggered by ActiveWords. However, I didn’t want to have to install any other software to make use of it. Here is what I did:
- Create a directory on the temp computer’s hard drive, e.g., F:\Scratch.
- Download SFS.VBS and put it into this directory. You could use the original SFS.VBS script; however, I like to have a bit more white space in my text file, so I modified it slightly - see this SFS.VBS.
- Edit SFS.VBS to make it point to this particular directory. Halfway through the file is the line
filename = "C:scratch:scratch.txt"
Edit the filename to the appropriate directory. You can also change the filename if you wish.
- In Windows Explorer, open the directory containing the SFS.VBS file.
- Right-click and drag the file to the desktop. Windows will ask you if you want to copy, move, or create a shortcut. Select “create shortcut”. Alternatively, you can right-click on the VBS file and select Send To/Desktop from the context menu.
- Find the new shortcut on the desktop. Right-click it and select its properties. Choose an appropriate shortcut key (Shortcut tab). I chose Ctrl + Alt + . for the script file. The Ctrl + Alt is mandatory, you just get to choose the third key. I wanted something on the right-side of the keyboard so I can hit Ctrl + Alt with my left hand and select the third key with my right.
Now, to create a new entry in the scratch file, just hit Ctrl + Alt + . and the popup window will open. Type in text and hit Enter. The really nice thing about Joshua’s script is that it is smart enough to capture text from the Windows Clipboard, so if you just hit Enter, the clipboard contents are entered into the text file.
Finally, the scratch fill will just keep getting bigger and bigger, so it would be nice to archive it now and then. In a few days, I’ll post a batch file that will simply rename the current file so that the next time you call the script, you get a new, empty one.