Friday, 16 May 2008


If you try and import your Google bookmarks from the
html file into your IE7 favorites using the standard method you will find only the favorites directories get created, no actual .url files.

I looked for a fix but all I could find were people who had the same issue...

http://groups.google.com/group/Google-ookmarks/browse_thread/thread/2c5e54815067bc6d
http://groups.google.com/group/IEToolbar-Group-Bugs/browse_thread/thread/2b6e6a6bb96c1a9e
http://answers.yahoo.com/question/index?qid=20070801104430AAfizx1
http://forums.moneysavingexpert.com/showthread.html?t=853577

...so I have written this handy Visual Basic script that will copy all of your Google Bookmarks to your IE Favorites.

In essence it is the opposite of the 'Import IE Favorites...' tool on the Google toolbar.

You can download the file here: http://fraser.chapman.googlepages.com/Bookmarks2Favorites.vbs
(Note: To run the script just double click on the file when it has downloaded.)

Alternatively, If you wish you can also view the code here http://docs.google.com/Doc?id=dd5867nj_13knm33tf7

Update:
Based on Tom G's comment. If you keep getting a login error message then to resolve the issue try this.
1) Manually download the XML file from
http://www.google.com/bookmarks/find?q=&output=rss&num=99999
2) Save the file to your machine e.g. "C:\Google Bookmarks.xml"
3) Change the script so that the line
strPathRss = "
http://www.google.com/bookmarks/find?q=&output=rss&num=99999"
becomes...
strPathRss = "C:\Google Bookmarks.xml"
4) Run the script

15 comments:

stcroixwis said...

Thanks, I've been trying to move my bookmarks for weeks now - your little script worked great!

Mike

Anonymous said...

The script ran quickly and safely. Thank you for providing it.

Ashish

Anonymous said...

can someone please tell me how to use this file?

Anonymous said...

Thanks. I've been trying to do this for AGES and nothing has worked.

tom g said...

Grr, keeps telling me I need to log in, when I am! Every time it makes a new window, I log in to google, nothing happens...

Brian said...

Great job!! It worked so fast I thought I had done something wrong until I checked my IE7 Favorites.

Now, if you feel like it, take it one step further and write some code to transfer (copy) google bookmarks directly from one google account to another google account. I would guess that it's not as easy to do. You would probably have to write an add-in to the google tool bar.

Thanks again!! :)

Brian

Anonymous said...

People who have this working, can you please share your thoughts on how to get this stuff working? I just dont know what to do with this vbs file.
Thanks!!

Anonymous said...

Thank you!!

airmark said...

For those that it is not working - I had to try a few times and finally got it working.

First - when prompted for your Google login/password make sure to check the box that says "Remember me on this computer." Thats seems to be the key.

Second - leaving the IE Google window logged in and open run the script (double click) a second time.

Then it seems to work, give it just 15 to 20 seconds and they will all be there.

Anonymous said...

AMAZING!!!! Been struggling with this over and over. IT resets logins so often my Google Bookmarks are not available and been searching for a way to get them ported in to IE. This ***WORKS*** THANKS!!!!!

Vlad said...

Many thanks!
Great and useful script!
Vlad

Shell said...

You are awesome for doing this. Thank you!!!

Brian said...

I changed the script for the correct path, but when I run it I still get the error "Bad file name or number Error number: 52 Error Source: Microsoft VBScript error"

What's that about?

Fraser said...

@Brain

Not so sure, when you say you
"...changed the script for the correct path" do you mean you manually downloaded the RSS feed and amended the strPathRss variable? Also, what happens if you just run the file as is, do you receive the login error?

F.

Morrigan said...

Hey,
When I run the script I get the following error: "object required, error number: 424, error source: MS VBScript runtime error"

What's wrong?

Post a Comment