Problem with getting focus on JavaScript ActiveXobject and NotesUIWorkspace

I am having a CRISPY problem. I am trying to send the following URI to a browser (MS IE standard). I cannot figure out how to get the Notes client to come to the top of the desktop stack if it is already open. IE:

workspace.EditDocument(editmode, notesdoc);

workspace.Focus = True

The workspace object does not appear to have method that tells Notes to come the forefront.

The code snippet below does work for IE 7 or 8. It opens a document in the client if it is already open. Or it attempts to open the Notes client, to open the document.

Ivo Burggraaf posted on 24.Nov.05 a similar question without getting an answer.

(http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/a5e14aef98724d14852570c30048c33a?OpenDocument)

JavaScript:

var servername = “server”;

var pathname = “database.nsf”;

var viewname = “lookupview”;

var keyname = “keytodocument”;

var editmode = 0;

var Session = new ActiveXObject(‘Notes.NotesSession’);

if(Session == null) {

alert( “Cannot open session”);

exit()}

var currentdb = Session.GetDatabase(servername, pathname);

if(currentdb == null) {

alert( “Cannot open database”);

exit()}

var cview = currentdb.getview(viewname);

if(cview == null) {

alert( “Cannot open view”);

exit()}

var notesdoc = cview.getdocumentbykey(keyname);

if(notesdoc == null) {

alert( “Cannot open document”);

exit()}

var workspace = new ActiveXObject(“Notes.NotesUIWorkspace”);

if(workspace == null) {

alert( “Cannot open workspace”);

exit()}

workspace.EditDocument(editmode, notesdoc);

window.open(‘’,‘_self’,‘’);

window.close();

Subject: Try ActivateApp statement instead.