windowsActivate
Contents:
windowsActivate(applicationPath, applicationWindowTitle)
Opens a Windows application if not already open, and focuses the application.
import { windowsActivate } from "@guidepup/guidepup";
(async () => {
// Opens Microsoft Edge if not already open, and focuses the window.
await windowsActivate("msedge.exe", "Edge");
})();
Parameters: