-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
System Info
- macOS 15.5 (24F74)
- Phoenix 4.0.1 (137)
How to reproduce
Key.on("t", ["shift", "alt"], () => {
var app = App.get("WhatsApp");
if (app === undefined) {
Phoenix.log("App not found: WhatsApp");
} else {
Phoenix.log(`App found: WhatsApp, windows count: ${app.windows().length}`);
}
app = App.get("Brave Browser");
if (app === undefined) {
Phoenix.log("App not found: Brave Browser");
} else {
Phoenix.log(`App found: Brave Browser, windows count: ${app.windows().length}`);
}
});Output:
Phoenix: App not found: WhatsApp
Phoenix: App found: Brave Browser, windows count: 2
MDL13412
