-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I have a big custom.js that works like a charm. As soon as I add a simple global pronounce, Serenade stops detecting the window I am on and becomes not responsive. This is the beginning of my code
/* Serenade Custom Commands
In this file, you can define your own custom commands with the Serenade API.
For instance, here's a custom automation that opens your terminal and runs a command:
serenade.global().command("make", api => {
api.focusApplication("terminal");
api.typeText("make clean && make");
api.pressKey("return");
});
And, here's a Python snippet for creating a test method:
serenade.language("python").snippet(
"test method <%identifier%>",
"def test_<%identifier%>(self):<%newline%><%indent%>pass",
{ "identifier": ["underscores"] }
"method"
);
For more information, check out the Serenade API documentation: https://serenade.ai/docs/api
*/
serenade.global().pronounce('colon', 'column')
serenade
.language('css')
.snippet(
'container',
'.container {<%newline%><%indent%><%cursor%><%newline%>}',
null,
'inline'
)
Why is this happening? Also, this is a screenshot of Serenade showing it does not recognize any of my opened apps (code, chrome...etc)
Metadata
Metadata
Assignees
Labels
No labels
