Notestimer and reloadwindow

I have a custom Welcome page which refers to another database and so I have put the notestimer on it to reload the window every 10 mins. This works fine, except when you have another window tab open and then it seems to reload that window instead.

Is there any way of stopping it from reloading unless the current window that is hilighted is the correct one? I have found many people who have this problem but no one seems to have a solution.

TIA

Sarah

Subject: RE: notestimer and reloadwindow

ReloadWindow does say that it operates on the “current” window!You didn’t say exactly what kind of design element you were trying to reload. Maybe you could use NotesUIDocument.Refresh? Since this lets you specify the NotesUIDocument, you can use a global to store the one for the design element in question (it’s passed to you in Postopen event) and invoke the method on that.

Subject: RE: notestimer and reloadwindow

thank you for your response.

I have been able to use the api to get the name of the active window tab and then it only runs the reloadwindow if it is the correct window tab