<< DiscussionsReply

Need BFS.Window.Exists(); Open file if window not found!

EricClark's profile on WallpaperFusion.com
Need a way to get if a window exists in a more clear method.

I am trying to setup a script so that it will open a file but if the window already exists then it will not open the file but instead swtich to that window.

good for viewing photos or reference maps etc.

Current method for this could be

IntPtr win = BFS.Window.GetWindowByText("text starts with *");
BFS.Dialog.ShowMessageError("found window");
BFS.VoiceBotActions.OpenFile("path to file");
Jan 24, 2018 (modified Jan 24, 2018)  • #1
PabloMartinez's profile on WallpaperFusion.com
The simplest example.


Jan 24, 2018  • #2
Was this helpful?    
<< DiscussionsReply