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?

Bring all Evernote windows to the front

Description
This script will focus all Evernote windows, which will bring them to the front.
Language
C#.net
Minimum Version
Created By
Keith Lammers (BFS)
Contributors
-
Date Created
Feb 15, 2019
Date Last Modified
Feb 15, 2019

Scripted Function (Macro) Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
	public static void Run(IntPtr windowHandle)
	{
		foreach (IntPtr window in BFS.Window.GetVisibleAndMinimizedWindowHandles())
		{
            if (BFS.Application.GetMainFileByWindow(window).ToLower().Contains("evernote.exe"))
            {
                BFS.Window.Focus(window);
            }
		}
	}
}