Hello,is there a possibility to switch the local adressbook of the currently used Notes-Client? Instead of “names.nsf” I want to use three databases in a local subdirectory wich are based on the same template. I didn’t find a way to program this action in Lotus Script.
Can anyone help me?
Thank you in advance!
Henning
Subject: Changing local adressbook by script?
You need to change the names= entry in notes.ini. Any of the standard Environment methods for changing the .ini will do (depends on where you script is running from).
Subject: RE: Changing local adressbook by script?
Thanks for your quick response, but I remember that it’s only possible to access the $…-Entries in notes-ini via the Environment-Functions. Isn’t there any other way?
Subject: Not true. notesSession.SetEnvironmentVar( name$, valueV [, issystemvar ] )
If you set the last parameter to True, it will write to the Notes.INI without the prefix “$”
Subject: RE: Not true. notesSession.SetEnvironmentVar( name$, valueV [, issystemvar ] )
Thank you very much!!!