API Reference
Opens a MacOS application if not already open, and focuses the application.
import { macOSActivate, MacOSApplications } from "@guidepup/guidepup";(async () => { // Opens Safari if not already open, and focuses the window. await macOSActivate(MacOSApplications.Safari);})(); Copy
import { macOSActivate, MacOSApplications } from "@guidepup/guidepup";(async () => { // Opens Safari if not already open, and focuses the window. await macOSActivate(MacOSApplications.Safari);})();
Application identifier. See MacOSApplications.
Optional
Additional options.
API Reference
Opens a MacOS application if not already open, and focuses the application.