geddski / geddski/macros

Passing a string to actions.find

Open
#39 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
177
Forks
36
PR merge metrics
No merged PRs in 30d

Description

I'm trying to create a macro that will find a certain string (a regex string that I use a lot), that will then replace it with another regex string. I have set it up, but instead of the find string being placed in the find box, it's being placed in the text editor. Is there another argument I should be using instead of text?

```
"macros": {
"addSpacesAfterCommas" : [
"actions.find",
{"command": "type", "args": {"text": "search string here"}}
]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.