DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: fast map  (Read 5,077 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
fast map
« on: June 17, 2013, 09:37 PM »
hello
I want to highlight a word (that belongs to a place in UK) and popup a window with it's point on a UK map
I use firefox
any hints?
thanks!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: fast map
« Reply #1 on: June 17, 2013, 09:58 PM »
This would be easy to do using an autohotkey script to copy the area under the cursor to clipboard and then open a web page related to it.

I wrote a little AHK script a while ago called SelectoSurf which I use for similar purposes, you'd just have to modify it to open a web page that does a map search instead of a web search.

Or you could use Find and Run Robot to do the same thing -- trigger on a hotkey, copy highlighted text under cursor to clipboard, and then open a web page searching for that text.

The first step however is to find yourself a mapping website where you can search for locations on a uk map, and which returns the results you want.  Then post on this thread that url with the search part.

For example. you might say that the web page you want opened is:

Code
http://maps.google.co.uk/m?gbv=1&ie=UTF-8&oi=nojs&q=LOCATIONHERE

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: fast map
« Reply #2 on: June 18, 2013, 01:30 PM »
I want to highlight a word (that belongs to a place in UK) and popup a window with it's point on a UK map
I use firefox
any hints?

Do you mean you want to highlight an address within a web page in Firefox ?

I use Advanced URL Builder, although it'll open in a new tab.

Or do you mean you want to highlight an address in any application and have the map open in Firefox ?

In which case go with mouser' suggestion.
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Original address: https://www.donationcoder.com/forum/index.php?topic=35198.0