; a short script that takes a googlemaps link and throws away lots of unnecessary stuff ; works now. future additions: ; shorter location floats for the marker and the view, ; less accuracy would do as well Send, ^c ClipWait, 0.2 text := Clipboard Loop, parse, text, &? { this_word = %A_LoopField% allLines = %allLines%%this_word%`n ; remove the last "maps" from the url, works without if A_Index = 1 { if (RegExMatch(this_word, "maps$")) StringTrimRight, this_word, this_word, 4 url = %this_word%? } ; the green-arrow marker: if (RegExMatch(this_word, "^q=")) { url = %url%%this_word%& } ; the point you are looking at: if (RegExMatch(this_word, "^ll=")) url = %url%%this_word%& ; the zoom-level: if (RegExMatch(this_word, "^z=")) url = %url%%this_word% } toolTip %url% sleep 500 Clipboard := url