Tools from Nathan Tuggy
This is a collection of tools, both programs and scripts, that I have created to solve various minor problems. The only prerequisite for my scripts is either Windows PowerShell or Windows Script Host, depending on the script type. Most reasonably current Windows installations have suitable copies of WSH. However, many people do not have Windows PowerShell installed on their computer. You can download the installer from the Microsoft Windows PowerShell home page here. Follow the instructions given for enabling scripts to run. Several files are distributed in .ZIP form, using 7-Zip for compression. If you need a archive-reading program, try 7-Zip, which is open-source at SourceForge.net. Several programs, on the other hand, use the .NET ClickOnce system, which installs directly from the Web. Click the link and follow the directions to install, including making sure the .NET Framework 2.0 is installed.
-
Keep Pressing String. This PowerShell
script is designed for fast, simple automation of highly repetitive
tasks, especially those with lots of keyboard action. You can pass in
strings of characters and special key symbols to the script and it
will auto-type the strings a specified number of times, in groups and
batches. Help is available through the -help command-line
option.
Example: Automate a task that requires opening the File menu, choosing the Publish command, setting the Standalone and Compressed options, then choosing OK.
Method:.\KeepPressingString.ps1 "%fp","%(sc)","{enter}"
- XScrSave. (.NET Framework ClickOnce) Prevents the screen saver from coming on, and ensures the display and processor will remain running instead of turning off to save power. Useful when some long task is running that you want to check on without having to unlock the computer after power saving or the screen saver has come on. Also, tasks which need the processor can benefit from the guarantee of its uninterrupted operation. (download source)
- Clipboard Viewer. (.NET Framework ClickOnce) Clipboard Viewer is a command-line utility to allow you to examine the clipboard contents very closely. It will dump all current formats and contents to the screen. Some formats duplicate others most of the time, many are frequently useless, but for low-level digging through the clipboard, Clipboard Viewer gets the job done. (download source)
- Bad Word Alert! A GreaseMonkey user script for Firefox that rapidly removes specified "bad words" from each loaded page. Performance is good (sub-millisecond range) and the script is very flexible. There's only one downside: the supplied list of words is very small at present, so you will have to make good use of the script's blocklist-add feature. After installing the script, right-click the GreaseMonkey icon and choose User Script Commands > Block word..., where you can enter a word to block, either as plain text (the script will add some useful padding to it) or as a full-fledged regular expression (which will be combined with the rest of the pattern using the "|" operator). You will, of course, need Firefox and GreaseMonkey to make use of this. On the other hand, no one should browse the web without these!
These works are licensed under the GNU General Public
License version 3.