View Single Post

  #1  
Old 08-14-2003, 09:50 PM
Soulfire Offline
Junior Member
 
Join Date: Aug 2003
Posts: 1
Customizing the 'Address' toolbar on the taskbar

This topic concerns the 'Address' toolbar that you can attach to the taskbar by right-clicking on the taskbar and selecting 'Address' from the 'Toolbars' menu.

I have found that the address bar works exactly like the 'Run' dialog that you can access from the start menu. You can enter URL's into it and it will launch them in your default browser window. You can also type the name of an executable file located in one of the Windows system folders(C:\Windows\, C:\Windows\System32, etc.). When you enter an executable's name(without the .exe extension), the icon from that executable's file is displayed in the address bar. For example, you could type 'Notepad' into the address bar, and press enter. Notepad.exe would open, since it is located in C:\Windows\, and the icon for the address bar would change to that of Notepad.exe's icon.

What I want to do is have the ability to create custom 'commands' to launch specific programs with. So that, for example, I could type 'Winamp' into the address bar, and Winamp would open just as if I had clicked it's icon in the start menu or quicklaunch bar. One way of accomplishing this would be to create a small executable for each command that I create, with the name of the command being the executable's filename. The executable would simply launch the desired program that is associated with it's command. So, for example, I could create a small program that launched Winamp from wherever I had it installed, compile the program to 'winamp.exe', and save it in the C:\Windows\ folder. I have already achieved this, and it works fine. However, I noticed some strange behavior while converting one of my quicklaunch icons to this command style. If I typed 'aim' into the address bar, it would launch AOL Instant Messenger, even if I had not created the command's launch executable yet! I inspected all of the system folders, and there was no aim.exe to be found. I know for a fact that it is launching directly the official AIM executable file from the folder I have it installed to, because I can change the icon resource of the authentic aim.exe, to a different icon, and it affects the icon that is displayed in the address bar when I use the 'aim' command. I also searched through the registry and Windows configuration files, but found no references to the path and filename that aim.exe was installed as, that looked like they would have anything to do with the address bar.

I'm completely stumped as to how Windows knew to launch AIM from that command. There was no aim.exe in any Windows system folder. The AIM application directory is not a system folder. So my guess is that somewhere in the system there is a list of 'shortcuts' or 'commands' that can be used in an address bar, along with their respective programs that they launch. My question is: How can I add my own 'commands' to this list? Where is the list located? Somewhere in the registry that I missed, perhaps?
Reply With Quote