-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Description
- Version: 3.0.0
- macOS: 13.3.1
Hello,
right now I'm trying some of the basic examples.
I have written the following short snippets:
Key.on('z', ['control', 'shift'], () => {
const test = App.launch('Whatsapp', {focus: true});
if (test) {
test.windows().map((cb) =>
cb.setTopLeft({
x: 0,
y: 0,
}),
);
}
})
Key.on('l', ['control', 'shift'], () => {
const focused = App.focused();
console.log(focused.name());
})
And launching apps like "Whatsapp" or "Slack" works like a charm.
But another app named "Rocket.Chat" won't start at all.
Terminal logs give the following output:
Phoenix: Error: Could not find an app with the name “Rocket.Chat”.
Trying the second shortcut over the focused window prints the following output:
Phoenix: Rocket.Chat
That's why I think, that names with dots are not supported.
Is there a way to launch apps with their PID?
By the way: Thanks for maintaining this framework.
Metadata
Metadata
Assignees
Labels
No labels