So far, we’ve used Serenade with the Atom and VS Code editors. But, you can use some of Serenade’s functionality with any application on your computer, not just those with supported plugins.
A common part of many workflows is switching applications. To focus an app with Serenade, you can use the
focus command. For instance, to bring Slack to the foreground, you can say:
slack is a substring of the name of the application you want to focus. You can use the
focus command for any application, not just those with supported plugins.
Serenade can type text into any window with the
type command. For instance, you can say:
type hello world
This will insert the text
hello world into the currently-focused window, no matter what application it is.
You might also want to press individual keys on your keyboard rather than typing out a string. For instance, suppose you wanted to focus the location bar in Chrome. You could say:
press command l
As you’d guess, this will hold down the
command key, then press the
l key. As with
type, keystrokes will be sent to whichever window currently has focus. For a full list of supported keys, see Keys.