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


Click here to return to the 'Get Google directions via Address Book for ANY browser google supports' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get Google directions via Address Book for ANY browser google supports
Authored by: rgould on May 03, '05 11:24:18AM
if you want these scripts to use your system browser (or at least a browser that google maps supports) rather than having these scripts hard-coded to use safari or firefox, comment out the hard coded stuff and add the following right behind it (it also does some minor error checking for you):
		--		tell application "Firefox"
		--			OpenURL googleMaps & addressURL
		--tell application "Safari"
		--	open location googleMaps & addressURL
		--	activate
		--end tell
		
		if addressURL is not equal to "" then
			tell application "System Events"
				open location "http://maps.google.com/maps?q=" & addressURL
			end tell
		end if


[ Reply to This | # ]