I was kinda liking my file appender trick from this post but then reader Josh Fitzgerald sent me an even better version using VBS. I don’t know jack squat about VBS (vacation bible school?), but his trick is so sweet. The ultimate outcome is identical–you get text appended to a file, but his way is much better.
The trick I posted earlier will add the text, but it also opens the text editor and makes you wait for the text to be added. It’s pretty quick, but also pretty annoying. Using Josh’s version, the scratch file is appended without the text editor ever being opened. And each note is preceded by a date and time stamp. Very nice.
So now, I just invoke my ActiveWord and am presented with a text input box. I type my text, hit enter and go back to doing whatever I was doing. The note is appended to the bottom of the scratch file, with the current time and date. Easy. As the other post mentioned, I still have another ActiveWord that pulls up the scratch file for review.
Here’s how to accomplish Josh’s trick:
- Create a new folder on your C:\ drive called “scratch” (so you’ll now have a folder called C:\scratch)
- Save this file into the new folder: right click here and download
- Now create a new ‘Launch a program’ ActiveWord that opens this file: C:\scratch\SFS.VBS
- Try it out. When you invoke your new ActiveWord, you should get a text entry box. All text gets added to a new txt file called scratch.txt which is located here: C:\scratch\scratch.txt (if you don’t already have this file in this directory, it’ll be created on the fly—makes archiving easy)
- You can also create another ‘Open File’ ActiveWord for this new txt file for when you want to review it.
The way I have it set up, you just follow the instructions above and you’ll be all set. If you’re comfortable with a little tweaking, you can open the VBS file in a text editor and make changes to the file names and where they’re saved.
Nice, thanks again Josh! If you’ve got questions about the script itself, you’re better off asking Josh. He can be reached at: aphoria [at] hotmail [dot] com