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


Click here to return to the '10.4: Use Google Maps with the Address Book widget' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Google Maps with the Address Book widget
Authored by: unixrocks on May 29, '05 03:07:36PM

Sure - do this.

copy the script thats linked in the origional post (open the link in a new window - select all text in the window (command-A) then copy to the buffer (command-C))

create a new file using textedit under your home directory called change_abwidget.ksh - paste the contents of the buffer into the file (command-v) - or to be more accurate create a new file in simple text, copy the contents of the buffer, then save it to your home directory to a file called change_abwidget.ksh

open a terminal window (it will drop you into your home directory where the script is) and enter the following <actual dialog copied and pasted below from terminal but of course your prompt will differ>


[Chris-Computer:~] Chris% chmod 755 change_abwidget.ksh
[Chris-Computer:~] Chris% sudo ./change_abwidget.ksh

AddressBook is currently set for MapQuest server - changing it to use Google server...

Dont forget in order for the change to take affect you must re-launch the AddressBook Widget in Dahsboard.
Just refreshing the widget via Command-R wont force the changes to take affect.
You can also have two copies of the AddressBook running - one with MapQuest the other with Google.




[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: ershler on May 29, '05 11:35:58PM

I've tried the following

Macintosh-2:/Library/Widgets ershler$ sudo /Users/ershler/Desktop/GoogleMaps.sh

AddressBook is currently set for MapQuest server - changing it to use Google server...

Dont forget in order for the change to take affect you must re-launch the AddressBook Widget in Dahsboard.
Just refreshing the widget via Command-R wont force the changes to take affect.
You can also have two copies of the AddressBook running - one with MapQuest the other with Google.
Macintosh-2:/Library/Widgets ershler$

Then I removed the Phone Book Widget from the screen and then reinstalled it. But it still goes to MapQuest. I've tried picking up a fresh copy of the widget and rerunning the script. No change.



[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: macavenger on May 31, '05 01:30:46PM

You are running into the same problem I had - this hint is for the Address Book widget, not the Phone book widget.

---
iMac FP 17" 800MHz OS X 10.4.x



[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: matthewfritz on May 29, '05 11:36:24PM

I can't seem to get this to work... I get the following error in Terminal

fritzm% sudo /Users/fritzm/Desktop/address_widgetscript.ksh
/Users/fritzm/Desktop/address_widgetscript.ksh: line 1: {rtf1macansicpg10000cocoartf824cocoasubrtf100: command not found
/Users/fritzm/Desktop/address_widgetscript.ksh: line 2: syntax error near unexpected token `}'
/Users/fritzm/Desktop/address_widgetscript.ksh: line 2: `{\fonttbl\f0\fnil\fcharset77 Verdana;}'



[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: robg on May 30, '05 09:35:13AM

Looks like you saved the script as RTF -- make sure TextEdit is set to save in plain text mode.

-rob.



[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: matthewfritz on May 31, '05 11:16:19PM

Thanks. Now that I set it to txt, I'm getting the "Changing the Address book..." message and close the addressbook widget then reinstall it but it still queries MapQuest...



[ Reply to This | # ]
10.4: Use Google Maps with the Address Book widget
Authored by: MarcodD on Jul 30, '05 12:14:04PM

Now it's my turn to to an idiot. What is the home directory?



[ Reply to This | # ]