Hi Wagner,
Did it really work several times in a row? framework.openUrl("http://
www.google.com"); works for me also but only one time. If I close the
browser tab (or window) the page will not open when I run the
function framework.openUrl("http://www.google.com"); again.
What platform are you using? What version of Google Desktop?
Best regards,
KG Sterneberg
On Mar 31, 4:17 pm, Wagner Nitsch <[email protected]> wrote:
> Hi KG,
>
> I tried this code:
>
> framework.openUrl("http://www.google.com");
>
> And here, it's worked properly.
> Paste the snippet of your code here.
>
> Best Regards,
> Wagner Nitsch Bressan.
>
> On Mon, Mar 29, 2010 at 7:44 AM, KG <[email protected]> wrote:
> > Hi,
>
> > I use framework.openUrl in a Google Desktop Gadget to open a webpage.
> > It works fine to do it one time. The problem is that if I close the
> > browser window or tab that has opened, the function does not work
> > again. I have tried with Firefox and IE as default browsers. Even if I
> > close the whole browser nothing happens. I need to close the gadget
> > and open it again to make the framework.openUrl have effect again.
>
> > Is this bug? Anyone have an idea?
>
> > I suppose I could use
> > var wshShell = new ActiveXObject("WScript.Shell");
> > wshShell.run(url);
> > instead. Is this a good idea. Will it work on different platforms and
> > with different browsers?
>
> > Any help will be appreciated!
> > Best regards,
> > KG
--
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-desktop-developer?hl=en.