How to hide/show Messenger Plus! ‘contacts on desktop’ based on a hotkey

Earlier today, I’ve made another post doing something very similar to this one. You can have a look at it here.

We are going to do the exact same thing actually, but this time, you will be able to use the code that I’m giving without any modification.

Read the rest of this entry »

How to hide/show a specific Sidebar gadget on Windows based on a hotkey

Well, we will write a little code first. If you are not scared by that fact, go and install AutoIt. It is a great scripting language for Windows. It saves the day when you just want what you want to be accomplished and not worry about anything else. Anything that comes up to your mind, first check this thing, if you cannot find it, or it is limited in some sense, only then try implementing it wholly by yourself. Fortunately, what we are going to do is actually quite basic, so it has all that we need.

Here is my code for hiding and showing the ToDo gadget based on a hotkey.

Read the rest of this entry »

How to create a shortcut to safely eject devices

Just right click anywhere in a folder select New->Shortcut.

As the path to the shortcut, write this:

%windir%\system32\RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

 image

Now, whenever you double-click that shortcut, it will open up the “Safely Remove Hardware” dialog.

You can actually do better by selecting “Properties” from the context menu of the shortcut, and assigning a hotkey for it. Now, you don’t need to search for the icon in the system tray. You just have to press a hotkey. Hope it increases your productivity a little bit. 🙂

 

By the way, you can also execute the path above programmatically to get the “Safely Remove Hardware” dialog.