Title

Message

Confirm

<< DiscussionsReply

Change Global Open Browser Command

EricClark's profile on WallpaperFusion.com
Change the Global Open Browser Command macro scrip to this

public static void Run(IntPtr windowHandle)
{
string prog = BFS.Web.GetDefaultBrowserExe();
if(!BFS.Application.IsAppRunningByFile(prog)){
BFS.Application.Start(BFS.Web.GetDefaultBrowserExe());
}else{
BFS.Window.Focus(BFS.Application.GetMainWindowByFile(prog));
}
}

the purpose is to prevent multiple windows from opening at the same time due to introduction of tabbed browsing by default for all browsers
Jan 24, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for the feedback! We've added this to our list.

What we'll likely do is break it out into a few Global Macros for Open Browser (new tab in existing window), Start Browser (new window), and Show Browser (focus existing window).
Jan 25, 2018  • #2
Was this helpful?    
<< DiscussionsReply