Skip to content

Passing a string to actions.find #39

@amandatennent

Description

@amandatennent

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"}}
		]
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions