Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?
Save up to 50% on our desktop apps during our Year End Sale!Save up to 50% on our desktop apps during our Year End Sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save up to 50% on our desktop apps during our Year End Sale!

User Image
RayK
18 discussion posts
BFS.Web.OpenUrl isn't working on my computer, I'm not sure why. However, BFS.Web.OpenUrlNewWindow works fine except I don't want the stuff I open in a new window. Am I missing something?

Please help.
Jul 16, 2015  • #1
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Are you using the new VoiceBot 2.0.1 release? Thanks! :)
Jul 17, 2015  • #2
User Image
RayK
18 discussion posts
I'm using 2.0.2 and it still doesn't work for me. Any reason?
Aug 6, 2015  • #3
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Hi, we're still trying to work out why your script isn't working for you. Is it possible to let us know what browser you are using and its version, and what website you are trying to open? Thanks! :)
Aug 10, 2015 (modified Aug 10, 2015)  • #4
User Image
RayK
18 discussion posts
It's very possible that it's because I'm using Google Chrome Canary, but it is set as my default browser. Hope this info helps you help me.
Aug 12, 2015  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! Two more questions. Which version of Windows are you running? And is Chrome Canary your default browser in Windows?
Aug 14, 2015  • #6
User Image
RayK
18 discussion posts
I'm on Windows 10 and Chrome Canary is my set as my default browser on it. I'll also keep working on fixing it. It may be a fluke.
Aug 17, 2015  • #7
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Hi, it looks like Canary does have some problems with Windows 10 and our scripting API. In the meantime, can you use a work around in your script? Instead of using BFS.Web.OpenUrl, can you use BFS.Application.Start? The code should look something like this:

Code

BFS.Application.Start("[path to your Google Chrome Canary executable]", "[ URL of the website]");


That code should open a URL as a new tab in Chrome Canary.

Hope this works for you! :)
Aug 17, 2015 (modified Aug 17, 2015)  • #8
User Image
RayK
18 discussion posts
If this is what it is supposed to look like it's not working as in not compiling. Help please. Thanks for all the help so far.

Code

using System;
using System.Drawing;

   public static class VoiceBotScript
{
  public static void Run(IntPtr windowHandle)
    {
                 BFS.Application.Start("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "www.voicebot.net");
    }
}


Note: chrome.exe is Chrome Canary and that is the path.
Aug 18, 2015 (modified Aug 18, 2015)  • #9
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
It looks like you didn't escape the backslashes in your path. Here's some code that should fix up your issue:

Code

using System;
using System.Drawing;

public static class VoiceBotScript
{
  public static void Run(IntPtr windowHandle)
    {
                 BFS.Application.Start("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "www.voicebot.net");
    }
}


Hope this helps! :)
Aug 18, 2015 (modified Aug 18, 2015)  • #10
User Image
RayK
18 discussion posts
Thank you very much!
Aug 21, 2015  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
On re-testing this issue, it seems to work correctly for us now with the latest version of Chrome Canary. If you still run into trouble, please let us know :)

Thanks!
Aug 3, 2016  • #12
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)