Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Google Maps now supports Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Google Maps now supports Safari
Authored by: dleifm on Feb 28, '05 04:00:31PM

I've got to say, yay!

Now... who's got a nice applescript to integrate Google Maps into Address Book? (The Firefox one that I found recently works great, but I'm partial to Safari.)

/not much of a scripter



[ Reply to This | # ]
Google Maps now supports Safari
Authored by: cudaboy_71 on Feb 28, '05 04:26:30PM

this works great:

property googleMaps : "http://maps.google.com/maps?q="

using terms from application "Address Book"

on action property
return "address"
end action property

on action title for p with v
return "Google Map Of"
end action title

on should enable action for p with v
return true
end should enable action

on perform action for p with v
set params to ""
if street of v is not missing value then set params to params & street of v & " "
if city of v is not missing value then set params to params & city of v & " "
if state of v is not missing value then set params to params & state of v & " "
if zip of v is not missing value then set params to params & zip of v & " "
try
tell application "Safari"
make new document at end of documents
set URL of document 1 to googleMaps & params
activate
end tell
on error
display dialog "This script works with Safari only!"
end try
end perform action

end using terms from

---
if it aint broke, break it!



[ Reply to This | # ]
Google Maps now supports Safari
Authored by: hembeck on Mar 01, '05 11:35:40AM

It's a same applescript plugin do not work with OS 10.2.X Address Book. Time marches on if one doesn't upgrade to the latest and greatest.

-Fernando

---
--Health, Wealth and Happiness--



[ Reply to This | # ]