Adding a bookmark to IE
Adding a bookmark to IE
- Subject: Adding a bookmark to IE
- From: email@hidden
- Date: Thu, 1 Nov 2001 21:44:03 EST
I need to write an AppleScript that will:
1) add a bookmark to the user's Internet Explorer Bookmark list.
2) change their homepage URL. (It's a custom installer for an ISP).
Searching the online AppleScript docs, I came across this "open bookmark"
command. Paragraph 2 is what caught my eye:
"If the specified bookmark file is not available, Internet Explorer reloads
the current bookmark file, and then appends the links in the file that was
opened to the Favorites file."
I may be just getting hopeful, but is this a command that will do this type
of bookmark file editing? If not, can someone share with me something else
that might work?
The homepage URL seems trickier - - I haven't found anything yet that alters
that URL via AppleScript.
Any advice is greatly appreciated.
- Rob
open bookmark
Open a bookmark file.
Syntax
open bookmark Alias
Remarks
The Alias parameter must be an alias to a bookmark file, which can be an
Internet Explorer Favorites file, a Netscape bookmarks file, or any other
kind of HTML file with links.
If the specified bookmark file is not available, Internet Explorer reloads
the current bookmark file, and then appends the links in the file that was
opened to the Favorites file.
While any kind of HTML file with links can be loaded, not all such pages are
appropriate. Pages whose links have descriptive names work best.