public static Rect GetAppPosition(string appName) { IntPtr window = ProcessManager.GetWindowByName(appName); return(GetAppPosition(window)); }
public static void BringWindowForward(AppModel app) { IntPtr window = ProcessManager.GetWindowByName(app.Name); SetForegroundWindow(window); }