Browser preferences and LS

I’ve set up a script on initialization of a page to change the browser preferences in the user’s current location document to “Notes with Internet Explorer”, using the following code:

Dim ns As New NotesSession

Dim db As New NotesDatabase("", "Names.nsf")

Dim v As Notesview

Dim doc As NotesDocument



Set v = db.Getview("Locations")

Set doc = v.getfirstdocument

While (doc Is Nothing) = False

	doc.WebRetriever = "3"

	Call doc.Save(True, False)

	Set doc = v.GetNextDocument(doc)

Wend

Is there a way to change the preferences back to the way they were on termination of the page? In other words, is there a way to store the “doc.webretriever” property in a variable on initialization and retrieve that property upon termination, then rerun the script above substituting “doc.webretriever = 3” with “doc.webretriever = storedvariable” ?

Thanks

Subject: browser preferences and LS

You can make Notes launch into Internet Explorer without regard to the users local setting.

Add a Hotspot link or Button to your notifications that contain the URL in LotusScript.

Add this LotusScript to the hotspot/button

'----------------------

Dim uURL as String

uURL = “http://www.lotus.com”

Shell ("explorer.exe "+URL,3)

'---------------------

This will launch the URL in a new IE window each time.