4 messages in com.googlegroups.google-desktop-developerRe: About Javascript error!
FromSent OnAttachments
Nitin Sharma27 Jul 2007 10:22 
Bijoy Thangaraj [API Guru]27 Jul 2007 10:34 
Teo [API Guru]27 Jul 2007 11:51 
Nitin Sharma27 Jul 2007 12:53 
Subject:Re: About Javascript error!
From:Bijoy Thangaraj [API Guru] (jspl@gmail.com)
Date:07/27/2007 10:34:13 AM
List:com.googlegroups.google-desktop-developer

Hello Nithin,

Can you try the following code:

var WshShell = new ActiveXObject("Shell.Application"); WshShell.ShellExecute("http://www.website.com"); WshShell = null;

I guess, this should work.

On Jul 27, 10:23 pm, "Nitin Sharma" <niti@gmail.com> wrote:

I tried as was in the knowledge base of intuitive user interface, tips and tricks to add up a new menu item. eg: menu.AddItem(.....,) { new
ActiveXObject("WScript.Shell").Run("http://www.website.com"); } ;

It gave me the error : on the same line with description " . "

I changed the code as such, still the same error!

var WshShell = new ActiveXObject("WScript.Shell"); WshShell.Run("http://www.website.com"); WshShell.Quit;

Any ideas ? Faced sth like this before ?

Thanks