MapIt program to launch Google Maps

September 30th, 2011

I was tired of copying an address, then opening a new tab and then going to http://maps.google.com and then pasting the address, and hitting return.

So I’ve written a program that will automatically open a new browser window pointed to Google Maps at whatever text is in the clipboard. Now I just copy the address, hit Win+R to bring up the Windows “Run” dialog, and then type “mapit”. Instant map.

You can also type “mapit <type address here>” to run it from the command line.

Download the Windows Executable (6.2 MB, big since it’s a compiled Python script)

 

Download the Python script (2 KB)

The Python script should work with Python 2 and 3, and on Windows, Mac, Linux (but I haven’t tested it on Mac & Linux yet).

Here’s the code on github: https://github.com/asweigart/mapitpy

2 Comments »

  1. Charles Ellis wrote,

    If you use Google Chrome you can create a new eearch engine for Google Maps. Just right click in the search box on the Google Maps page and select “Add as search engine…”

    In the window that opens up use something quick to type like “map” for the Keyword field, and then put “http://maps.google.com/maps?q=%s” in the URL field.

    Now if you want to search an address you can copy it, hit Alt-D to focus the URL bar, type map and then paste in the URL and hit enter to search.

    Comment on October 4, 2011 @ 10:49 am

  2. Charles Ellis wrote,

    To clarify my previous comment, one needs to type map and then tab or space before Chrome will recognize that you are using the Google Maps search engine.

    Comment on October 4, 2011 @ 10:53 am

Leave a comment

(2000 characters left.)

RSS feed for comments on this post. TrackBack URI

Powered by WordPress