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


Click here to return to the 'Map Address Book addresses via Google Maps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Map Address Book addresses via Google Maps
Authored by: miked378 on Feb 11, '05 03:13:23PM
Google Maps says that it's not compatible with Camino, but I haven't really tried too hard to get around that.

I also realized that in the comments of my script, I suggested that you can just change the app that's called to the browser of your choice -- that doesn't seem to be the case, actually. In Safari -- I had to tweak the script a bit, but got it to where it could form the correct URL and submit it to Google Maps -- but you end up with the page that says Google Maps is not compatible with Safari (they're working on it). If you want to try with Safari, using my script, replace the section that says this:

tell application "Firefox" activate Get URL "http://maps.google.com/maps?q=" & getStr end tell

with this:

tell application "Safari" if (count of documents) is 0 then make new document end if set URL of first document to "http://maps.google.com/maps?q=" & getStr activate end tell

You'll get the same "not compatible with your browser" page, but you'll see the correct URL in the box. This should work for Safari as soon as Google can implement support, assuming Apple doesn't change their AppleScript dictionary for Safari before then. Good luck!

[ Reply to This | # ]

Map Address Book addresses via Google Maps
Authored by: kuginomura on Feb 11, '05 04:13:22PM

can you alter this just a bit for it to work with Camino?



[ Reply to This | # ]
Map Address Book addresses via Google Maps
Authored by: jaysoffian on Feb 11, '05 04:14:40PM

Actually Google Maps works fine with the latest versions of Camino, at least for me.

The problem is that I don't think that Camino is scriptable. At least, I'm getting an NSCannotCreateScriptCommandError when I try.

Oh well.



[ Reply to This | # ]
Re: Map Address Book addresses via Google Maps
Authored by: Uncle Asad on Feb 11, '05 06:51:23PM
Camino is scriptable...somewhat, and you can't read its dictionary. Based on eccoana's post in the Camino MozillaZine forum, it seems one'll need to replace any "Get URL" or "openURL" with "open location" instead. Presumably that will get these scripts working.

[ Reply to This | # ]
Re: Map Address Book addresses via Google Maps
Authored by: jaysoffian on Feb 12, '05 10:19:52AM

Yep, that did it. Works fine in Camino now.



[ Reply to This | # ]