• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a bookmark to IE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a bookmark to IE


  • Subject: Re: Adding a bookmark to IE
  • From: Frank Watzl <email@hidden>
  • Date: Fri, 2 Nov 2001 12:31:36 +0100

The homepage URL seems trickier - - I haven't found anything yet that alters
that URL via AppleScript.

Any advice is greatly appreciated.


Hi,

on my machine (MacOS 9.2, IE 5.0) the user defined homepage is not stored in Explorer's own preferences, but in the preferences file of the Internet Control Panel, which is

--(((path to preferences folder) as string) & "internet preferences") as alias

or

set prefFolder to path to preferences
tell application "Finder" --one line
set iPrefFile to first file of prefFolder whose (creator type is "ICAp" and file type is "ICAp")--one line
end tell

which may be more reliable on international systems, although the String "internet preferences" doesn't seem to be localized.

The Homepage URL is stored in ICRQ resource 6286. Which probably isn't really good news for you, because you can't modify resources with plain vanilla AppleScript. While there are scripting additions providing resource modification commands, you can't expect them to be installed on your user's machines. I once heard about a way to embed Scripting additions into a script application, but I don't know the details of this technique. If you manage to go that way, you might be able to produce a stand alone script modifying the preferences file's resource.

Sorry I can't be of more help.

Frank Watzl
--


Frank Watzl
Technische Kommunikation
Dahlmannstrasse 18
60385 Frankfurt am Main


References: 
 >Adding a bookmark to IE (From: email@hidden)

  • Prev by Date: Re: Arcane date smarts
  • Next by Date: a few questions
  • Previous by thread: Adding a bookmark to IE
  • Next by thread: Re: Re: Adding a bookmark to IE
  • Index(es):
    • Date
    • Thread