Tools for getting things done and other stuff.



Send To Toys - Replacement for SendToX PowerToy

May 27th, 2008 bruceatk

I’ve been a user of the MS SendToX PowerToy utility for years. I especially like the Send To–>ClipBoard (As Name). I use it everyday. One problem though it doesn’t work in Vista. Instead I’ve been using a feature of SmartStartMenu which adds “Copy Pathname” to the explorer context menu. This is useful if you need to copy only one fully qualified filename to the clipboard, but doesn’t help if you have several filenames to copy.

I recently had to copy many filenames multiple times and ended up resorting to doing DIR /b “*.whatever” at the command prompt. So I looked around and found that someone had come to my rescue and had made a replacement for SendToX and it works for Vista and XP. He also added a few extras by giving you several options in how those clipboard entries are built.

One option is to have filenames that contain spaces get enclosed in quotes. You can also have multiple files end up as a list of files or all on the same line. Very useful if you are constantly copying and pasting filenames and paths.

This utility has several other useful functions that replace or enhance the features included in the original SendToX powertoy.

  • Send To “Clipboard (as name)”
  • Send To “Command Prompt”
  • Send To “Default Mail Recipient”
  • Send To “Favorites”
  • Send To “Folder…”
  • Send To “Quick Launch”
  • Send To “Recycle Bin”
  • Send To “Run…”

There is also a Send To “Clipboard” command line utility.

You can get Send To Toys at http://www.gabrieleponti.com/software/

The configuration utility that comes with let’s you manage what is in your “Send To” menu and the options of the included features in Send To Toys. So goto Gabriel’s site and if you like the utility click on Donate.

Posted in SendToToys, Utility, Vista, XP | No Comments »


PowerShell and iTunes

February 20th, 2008 bruceatk

PowerShell is Microsoft’s CMD.exe replacement. It is a very powerful shell that does an excellent job of bridging the gap of the DOS command line, COM objects, vbscript, and .NET. It is hard to describe it’s capabilities. You really have to experience it for yourself and have your own epiphany.

For my first PowerShell script I decided to replace the combo batch file and javascript file that I currently use to load all of the podcasts that I subscribe to into my iTunes. The old way was to run the batch file which scanned a folder and all subfolders looking for files with the archive bit set. For each file that it found it would then call the javascript file, which would load the one file into iTunes. The whole process was kind of crude. It would load any file modified in that subfolder. The files would sometimes include jpg or pdf files or even partial downloads.

Using Powershell I was able to easily include in one script the recursing of the folder structure for files with the archive bit set, selection by file extension, and calling the iTunes COM object api. It works quite well.

I basically have a server that runs Juice 24 hours a day collecting podcasts. When I get ready to synch my iPod I just run the PowerShell script and iTunes is updated. I have smart playlists that automatically organize the podcasts when they are loaded.

For links to the script and a detailed explanation go here.

Posted in PowerShell, Utility, Vista, XP | No Comments »


FileMon - The Swiss Army Knife of Utilities

August 23rd, 2007 bruceatk

FileMon is a utility by Sysinternals. It is simple and easy to use and may help get you out of bind when you don’t know why you are getting an error message. It is amazing how many different problems this utility will help solve. You can read more about Sysinternals utilities here.

Last fall I used FileMon to help us solve a perplexing problem. We had an important piece of software that wasn’t performing well, so they upgraded the workstations that it was running on. Even though the workstations were now more than powerful enough, they would still pause and miss collecting some of the important data that they were collecting. The vendor wasn’t any help, and the users were losing faith in the software.

I figured I would just sit down and monitor the software using Regmon and Filemon. As I watched the application it became obvious to me that it was looking for a file called none.wav. One of the things that happens when you look for a file that doesn’t exist, is that each folder in the path is searched. If you have large folders, or folders on a network drive, and folders on a network drive that is on a server on the WAN somewhere, that search can take a while. It might even cause the system to hang a little while the search is going on.

The application had the ability to play sounds to alert you when an event occurs. If you didn’t want to hear a sound that event was set to “none”. This caused the application to constantly search for the file none.wav. The vendor was unaware of this.

Creating a short silent file called none.wav and putting it in the application folder, stopped the constant searching and cleared up the problems we were having. A problem that had been researched for a long time without coming up with a solution was solved in a few minutes with Filemon.

Filemon
Regmon (like Filemon but for the Registry)
Process Monitor(FileMon and RegMon combined)

Posted in SysInternals, Utility, Vista, XP | No Comments »


AutoHotKey - The keyboard macro software that should come with Windows

August 14th, 2007 bruceatk

I have been living under rock as far as this software is concerned. My past experience with keyboard macro/playback software has left me tainted. I recently started using this as a way to automate some daily tasks that I do with “My Life Organized”. I soon learned that this is an extremely powerful tool that can be tailored by scripting to your precise needs. The more you use it the more you find things that you can use it for. It’s a must have tool, and it’s free.

AutoHotKey web site.

It is very useful in it’s most simplest implementation and as you become more comfortable with it it has the power to grow with you.

Posted in AutoHotKey, Utility | No Comments »


SmartStartMenu - Tame your “All programs” menu

August 13th, 2007 bruceatk

My main workstation has had Windows XP on it since it first game out. I’ve never had to rebuild it. So after several years my “All Programs” menu has become out of control. Each time I clean it up by organizing it with more folders, it becomes more difficult to find stuff as it gets buried in the mess.

Shaun Harrington has come to my rescue with his excellent product called SmartStartMenu. It’s main function is to give you a toolbar that allows you search all your programs. You can customize where it looks and how it behaves. I have mine search my desktop, my Start Menu, and a couple of other directories.

To use it, you just type some letters and it displays all the items that contain that text. On my system typing “Visual” brings up a list like this:

I use the option that highlights the most recently used item. It is so fast and easy to use. If you have a lot of stuff in your program menu or on your desktop then this utility will save you tons of time.

If that was all it did it would still be great, but it has a few other tricks. If you used the Send To option in Windows 95 PowerToys, then you’ll like that SmartStartMenu will add “Copy Pathname” and “Copy Short Pathname” to your explorer context menu. SmartStartMenu can be used as a replacement for the Run dialog. It is also easy to quickly navigate your folder structure on your hard disks.

Shaun doesn’t ask for any money for this utility. He does have a link that let’s you buy him a beer. So try it out and buy him a beer.

http://www.planetharrington.com/products/smartstartmenu/

Posted in SmartStartMenu, Utility | No Comments »


Maximize the use of your Clipboard with ClipCache Pro

August 10th, 2007 bruceatk

For a couple of years now I have been using a product called ClipCache Pro. This program saves everything that you put in your clipboard. You are then able to go back through ClipCache and re-paste it at a later time. You can create folders so that you can organize your clips. I just have few folders. I put some common code snippets in one folder. Another folder has some common items that I paste (ie. user names, server names, paths). You can give a clip a friendly name and the contents can be things you don’t like to type. I have another folder containing common answers or solutions that I have to use over and over again in e-mail or our help desk system. I like the fact that it puts my clips in a database that I have can locate on a network drive or even a flash drive.

I find it extremely useful when I have to create documentation, test plans, or installation instructions. I can just take the screen shots as I go along, without having to deal with them. I can then go back and include the screen shots in the document that I’m creating. It’s one of my “must have” tools. I always feel crippled sitting with someone else, helping them do something and they can only have one clip at a time.

I must say it is amazing what passes through your clipboard. After using it for a few months you will be amazed at all the things that you put into the clipboard.

Click screenshot for larger image:

Posted in ClipCache, Utility | No Comments »


Some examples of using Textpad’s Find in Files

August 9th, 2007 bruceatk

Many years ago I started using Textpad as a replacement for Notepad. I soon discovered several features that made my life so much easier. I now don’t know what I would do without them. I’d be interested in hearing if there are any other similar products that include these features. Both features that I will describe here involve the “Find in Files” functionality.

The first aspect of the “Find in Files” function is the fact that Textpad will display the results of the search and clicking on each line brings you directly to the file and place in the file that the search text is found. The file is opened in a new tab so the search is still available. Before 5.0 the search results ended up in it’s own tab. In 5.0 the search results ends up in a special window at the bottom of the Textpad window.

The example that I’m using is searching a Dr. Watson file for “when:”. This let’s you see the frequency of abends on a PC that is having problems.. This search will result in a list of abends with the date/time of each abend. Double-Clicking on one of the search result entries will bring you right to the start of the Dr. Watson entry in the log file.

Find in Files dialog:

Results of searching a Dr. Watson log file (click image below for larger image):

The second example is useful when you need to replace something in several text files that you know is unique and safe to change.

  1. Using the “Find in Files”, do the same as the Dr. Watson search above except, instead of giving a specific file name, use wildcards.
  2. Pick the top level directory of the files you want to search
  3. Check the “Search subfolders” option
  4. The search results will contain all the lines that contain the search text.
  5. Right-click in the search results and click on “Open All”.
  6. All the files named in the search results will open up in seperate tabs.
  7. Use the “Replace” option under the “Search” menu to identify what to replace. Click the “All Documents” option and then click “Replace All”.
  8. The text will be replaced in all the files.
  9. Under the “Files” menu click “Save All” and “Close All”.It’s easy and fast.

If you can’t quite get something unique across all files you can do it several times using unique search criteria that meets your needs. The nice thing about doing it this way rather than a command line tool is that you can easily see how good your search is and whether or not it’s safe to really do the “replace all” before actually doing it.

Posted in Textpad 5.0, Utility | No Comments »


I just noticed that JP Software’s TCI has been updated

August 7th, 2007 bruceatk

I just noticed that TCI has been updated. It’s tough to keep up with new software releases. I hate it when a program that I use everyday gets updated with features I really want and I don’t catch that they’ve been updated. As much as I hate programs that phone home, I’ve gotten use to them. It looks like this was updated late last year.

TCI is sold by JP Software and it is called Tabbed Console Interface. What it does, is let you run multiple consoles in a single window with a tabbed interface. The new feature that I like is that you can preset the tabs that you want loaded when you start TCI.

I typically use 4NT for most of the command line stuff that I’m doing. I still need to test with the standard windows command shell (CMD.exe) if I’m creating something for a server or box that doesn’t have 4NT. I’ve also been trying out PowerShell to see if it is worthwhile for me to switch to it. Now I can load them all up at once. It is easy to attach to other consoles (ie. putty, cygwin, etc.) as you open them up and add them as tabs. I will usually end up with two TCI windows open with multiple tabs in each one.

Click image below for larger image:

Posted in Command Line, Utility | No Comments »