Skip to main content

Adding your own items to the context menu

Now that you have removed all of the extra clutter from your context menus, why not add some useful entries to your menus? You can add a lot of interesting things to your context menus that can enhance your experience with your computer. My favorite item to add to the context menus is a Send Attached to Message entry. This entry in my context menu grew out of a need to find a better way to e-mail files. I send a lot of messages every day, often just

for the purpose of sending a file. I thought to myself, wouldn't it be simple if I could just right-click a file and select some option that would automatically open up Microsoft Outlook, create a new message, and attach the file? That would streamline the whole process by knocking out a few steps.

Adding an entry to a context menu is very simple. The most difficult part of solving my little puzzle was figuring out how to launch Outlook so it would automatically create a message and attach the desired file to it. After a few minutes on Google researching, I came across Outlook-Tips.net, which is a great resource for just the information that I was looking for. According to www.outlook-tips.net/howto/commandlines.htm,I just had to launch Outlook
with the /a switch and the name of the file. Once I had this information, I had all of the pieces of the puzzle and was ready to start putting it together. Perform the following steps to learn how to add your own item to any File Types context menu:

1. First, open up a copy of My Computer by clicking the icon on the desktop or Start panel.

2. Click the Tools menu bar item and select Folder Options.

3. Then, click the File Types tab to expose all of the different file types on your computer.

4. Because I usually send Word documents, I scrolled down the list of file types and selected the .doc file extension. Pick any other file extension for which you would like to add an entry.

5. Then, once you have the entry selected, click the Advanced button to bring up the Edit File type window.

6. Click the New button to add an entry.

7. In the Action box, type in the name that you want to appear on the menu. I typed in Send Attached to Message.

8. Then, in the Application Used to Perform Action box, you will want to specify the application and any switches that you want to use for this new entry. Click the Browse button to easily browse to an executable. I navigated until I found OUTLOOK.EXE inside the OFFICE11folder.

9. When you click OK, the path to the executable will fill the box. Now you will want to add any application flags at the end of the line. To tell Outlook to create a new message and attach a file to it, I had to add /a- after the path, followed by %L. The %L is a system variable that holds the name of the file that you are right-clicking. When I was finished, my box looked like the following (including the quotes): ÒC:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXEÓ /a Ò%LÓ.

10. When you are finished editing your new entry, click OK to save it.

You are now finished adding an entry to a specific File Types context menu. If you followed all of the previous steps to add the Send Attached to Message entry, every time you right-click a Word document, you will now see the new entry. If you want to add the same entry on other file types, just repeat the previous directions by selecting a different file type in step 4.

You can do even more things with the context menus. If I wanted to, I could use the different switches that I found on the Outlook Tips Web site (www.outlook-tips.net) to make my entry send the file to a specific person instead of leaving the To field blank in Outlook. Once you know the %L variable, you can send the name of the file to any program, given that you know the correct switches with which to launch the program.

I have included a registry file that you can import to easily set up your context menu with the Outlook Send To hack that will display the shortcut on all context menus for Microsoft Word documents. Outlook_sendto.reg is located in the Chapter 5 folder of the companion CD-ROM.

Comments

Popular posts from this blog

Siemens Mobile Secret Codes

C25: SP unlock *#0003*(secret code 8 digits)# *#0606# shows you Secret Code but only without SIM Card. *#06# for checking the IMEI (International Mobile Equipment Identity) Resets language to automatic selection : * # 0000 # then Green button Pin Out (electrical connections) 1- GND 2- SB 3- POWER 4- NC 5- TX 6- RX 7- CLOCK 8- DATA 9- GND MIC 10- HF MIC 11- AUDIO 12- GND AUDIO Languages: *#0000#+green phone - choose automaticaly *#0001#+green phone - English *#0030#+green phone - Greek *#0031#+green phone - Netherlands *#0032#+green phone - French *#0034#+green phone - Spanish *#0039#+green phone - Italian *#0049#+green phone - German *#0090#+green phone - Turkish How to change PIN: **04*old PIN*new PIN*new PIN# How to check simlock status *#0606# and then press left soft-key, you will see strange characters, then text ("brak blokad"). If you see for example 260-02, it means the phone is locked to Era GSM. In older models you can use *#06# and see the same information afte...

Changing a users icon on the Welcome screen

Each user that is set up on your computer can associate an image that appears next to his or her name on the Welcome screen. By default, Windows will randomly select an image for you, but this selection can easily be changed. If you do not like the images that Windows has to offer, you can select any other image. The process of changing a user's image is very simple. Just perform the following steps and you will have it changed in no time: 1. Open up the user manager by clicking the Start menu and selecting Run. Then type in nusrmgr.cpland click OK.This is a shortcut to User Accounts that will save you time going to Control Panel and then clicking the User Accounts icon. 2. This will start up the New User Accounts Manager. To change a user's picture, just click the user name. 3. Then, click Change My Picture text and you will see a screen with all of the different images that are built into Windows XP. 4. If you see one you like, just select it by clicking it and then cl...

Top 10 Tips To Improve System Speed

1 .Let your PC boot up completely before opening any applications. 2 .Refresh the desktop after closing any application. This will remove any unused files from the RAM. 3 .Do not set very large file size images as your wallpaper. Do not keep a wallpaper at all if your PC is low on RAM (less than 64 MB). 4 .Do not clutter your Desktop with a lot of shortcuts. Each shortcut on the desktop uses up to 500 bytes of RAM 5 .Empty the recycle bin regularly. The files are not really deleted from your hard drive until you empty the recycle bin. 6 .Delete the temporary internet files regularly. 7 .Defragment your hard drive once every two months. This will free up a lot of space on your hard drive and rearrange the files so that your applications run faster. 8 .Always make two partitions in your hard drive. Install all large Softwares (like PSP, Photoshop, 3DS Max etc) in the second partition. Windows uses all the available empty space in C drive as virtual memory when your Computer RAM is full. ...