You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
I ran into the same problem with the pronounce command on a Mac running Ventura 13.6.6. I tried to move the pronounce commands to a separate js file. I also tried adding a semicolon at the end of the command.
What is the syntax are an alternate command for doing text replacements globally?
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
Why is this happening? Also, this is a screenshot of Serenade showing it does not recognize any of my opened apps (code, chrome...etc)
The text was updated successfully, but these errors were encountered: