quote:
Originally posted by SpunkyLoveMuff
Right...
Favourites are now found in ways that shouldn't cause any problems. IE is read using SHGetSpecialFolderPath(), Opera uses an "adr" file type (found in AppData folder so again, using SHGetSpecialFolderPath()...) to store it's favourites and FF and Netscape use a bookmarks.html file(In AppData again, but with a random address for the "profile" folder, which is read from an ini file). (FF and Netscape are SO similar, all I had to do was alter some variables and the same code applies for both. So it reads all favourites for those browsers... so far (might add more...). Favourites now update everytime you go into the menu, not just on initialization.
As mentioned before, I made the buttons disable rather than hide for the same reasons Cookie stated. I fixed the problem of the browser opening an "undefined" site if no link was selected (see Felu's post. Thanks ) I also got rid of the "faves/favourites" blunder meaning the window will now open from the menu as well
I want to implement some better error checking before a final release as the method for detecting available browsers is not certain to work as files could be in none default locations and so on. I may end up using some registry keys with references to the programs (which hopefully get removed during it's uninstallation).
The reg keys shouldpoint to the exe file that is the browser, if that file is not there then it should be uninstalled... I think thats how it goes...
Added support for two new browsers (Avant Browser and Maxthon). Tried Songbird, but it doesn't seem to accept parameters. It just loads the default home page. I fixed a bug where when you opened the favourites window for a second or third time etc where it was adding them AGAIN
UPDATE
Been working on this again and it now has some cool new features. The script now includes a configuration wizard that allows the user to specify which browsers are installed and at which location. There are a couple of bug fixes.
I Need YOU
I need people to test this for me and tell me any errors they get. I would be most grateful
EDIT: BTW, The link is in the first post
when i download the script i go to import it, but it says that it is imported but failed to start