04 Dec
Posted by Arun bhai as General, Python, launchy, productivity

Launchy is a great productivity tool and a cool way to impress your friends. You can launch any application by pressing a hotkey (say Alt+Space) and the first few letters of the application for eg: typing ‘gi’ will display the GIMP icon and pressing Enter will launch GIMP. You can download Launchy from its website and its beta is pretty stable (and gorgeous) on my XP laptop too.
Using Launchy gets pretty addictive and soon you will hate using the Start menu or even Explorer on Windows for opening applications or files. So I took the red pill and started automating the following things with a little help from Python:
Don’t get me wrong, I hate IE as much as you do. But the fact of life is that many web apps out there “Work best when viewed in IE” (TM). Even if you have launchy plugins to launch the web app, if your default browser is Firefox, it might show incorrectly. Here is the solution:
In the above code replace the URL http://intranetapp/home with the URL of your choice.
Finally, open Launchy, right-click and say ‘Rebuild Index’.
If you are like me, you’ll have a lot of windows open at the same time. I have tried increasing the task bar height and grouping similar windows feature in XP to manage them. But I always wish I could invoke commonly used open applications like my chat window in just a few keystrokes. Launchy doesn’t index open programs by default, but with some python magic I can show you how to bring some commonly used windows to the foreground:
In the above code change the string Microsoft Excel - Expenses.xls with the title the window you would like to summon.
Finally, open Launchy, right-click and say ‘Rebuild Index’.
This works even if the window was minimized.
I hope, finally you can throw your mouse away. Ah… What a bliss!
To stay updated with the blog, please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.
I hate spam as well, so I promise you that you will not be spammed.
Bookmark this to del.icio.us | Digg | Furl | Netscape | Google Bookmarks | Technorati | reddit |
11 Responses
Siddharta
December 4th, 2007 at 5:34 pm
1Wouldn’t it just be simpler to execute “iexplore.exe http://intranetapp/home” instead of writing a python program to make COM calls?
Arun bhai
December 4th, 2007 at 6:01 pm
2@Siddharta: Atleast for me, iexplore.exe is not in the path of a batch script running in my system. I might have to change the PATH variable for that.
The advantage of this method is it is independent of the path where the user installed the program
Lorenzo Bolognini
December 4th, 2007 at 7:05 pm
3I don’t think i click as much as the average Win user does.
I use ALTAP Salamander (it’s got a speed dial to configure your most used paths) as a file browser and usually hit Microsoft-M to reach the desktop and from there type the name of the app i want to launch and hit Enter.
If i want to launch Firefox i Microsoft-M, type “moz” and click Enter.
You need to sort your own icon names so that they don’t clash with each other.
Steve
December 4th, 2007 at 9:24 pm
4iexplore.exe isn’t on the path, but you can still use it with the Run prompt. Hit Win R, type “iexplore google.com” and hit enter, it launches IE with the specified website. Works great.
I tried Launchy but I find it didn’t buy me much. I’ve always used a combination of the windows command prompt (it’s not useless!) and Win R and rarely use the mouse (at least for launching a program).
Togakangaroo
December 4th, 2007 at 9:41 pm
5Also great for using when you have an lmhosts file set up. For example, I have my test IP address mapped to the word test, and productions servers to prod1, prod2, …
Bringing them up is a matter of typing int test int prod1 … (int = internet explorer)
And in general great for passing parameters too sqlplus username:password@host …
Sid
December 4th, 2007 at 10:05 pm
6I use launchy AutoHotKey. Launchy to as a program launcher..and Autohotkey for global shortkeys and macros for various tasks. You might find it much easier and more suitable rather than dropping to python.
Much of the functionality is built-in,for which you would need extensive coding in python.
David
December 4th, 2007 at 10:19 pm
7Firefox has a plugin (IETab) that can open specific pages/domains in IE embedded in tab. Very elegant, and even easier than the above
Arun bhai
December 4th, 2007 at 11:13 pm
8@Steve: I’m a great fan of Win R combination. Since it works out-of-the-box on any windows box, I tend to use it all the time. Unfortunately, some of my commonly used URLs are too cryptic to type, esp the ones on my intranet. Hence the need to use such automation tools.
@David: I agree IETab is a good solution for the first scenario. But somehow, I always end up too lazy to install it
r
December 4th, 2007 at 11:16 pm
9better to just use a real os, methinks
but for those unfortunate souls who have no choice/haven’t quite come around, this isn’t bad
Caminews » Work Faster in Windows With Launchy and a few Python Scripts at ArunRocks
December 5th, 2007 at 11:40 am
10[...] Fonte: http://www.arunrocks.com/blog/archives/2007/12/04/work-faster-in-windows-with-launchy-and-a-few-python-scripts/ [...]
Vishnu
December 10th, 2007 at 2:17 pm
11Yek.! I think I should try tht.. Was using the winR till now.!
RSS feed for comments on this post · TrackBack URI
Leave a reply
ArunRocks RSS feed
Categories
Recent Posts
Recent Comments
Meta
Bookmarks
My Twitter
Site Search
ArunRocks is proudly powered by WordPress - BloggingPro theme by: Design Disease