Scripting: create a bookmark in users favorite bookmark

I need to create an action button and send it to employees to add a mail replica bookmark in “Favorite Bookmarks” area. The replica is different for everyone and should have everyone’s shortname as the file name. For example, John Smith will be jsmith.nsf and Linda Brown will be lbrown.nsf.

We have 300 users and I try to achieve this without walking over to 300 computers. The purpose of this is to create a bookmark so when the primary mail server is down, the mail file on the secondary backup server will take over.

Subject: scripting: create a bookmark in users favorite bookmark

Is @Command ([AddBookmark] ); what you’re looking for ?

Subject: scripting: create a bookmark in users favorite bookmark

did you look at @Command([AddDatabase])?

Subject: RE: scripting: create a bookmark in users favorite bookmark

I know that command can add database with a static name. But my situation is that I need to add a database based on user’s shortname. Not so sure how to do that because I just started learning scripting and designer. Thanks for responding me quick.

Subject: RE: scripting: create a bookmark in users favorite bookmark

tmpShortName:=“fsave”;tmpdbPath:=“mail\”+tmpshortname+“.nsf”;

@Command([AddDatabase]; “” : tmpdbpath)

Subject: RE: scripting: create a bookmark in users favorite bookmark

I’m going to assume that wasn’t a suggestion to hardcode :wink: but in case someone else doesn’t know that… you, might want to use an @UserName in there… :slight_smile: