numbering macro problems
Posted: Fri Mar 10, 2023 11:03 pm
I want to add an index number to a list.
So this:
becomes this:
I used Replace:
Here is the issue:
My macro did validate. Though the text said "validated" I also got a yellow caution symbol, so I'm not sure which to believe. So why doesn't my saved macro run?
Thanks
So this:
Code: Select all
Apples
Bananas
Cherries
Code: Select all
1. Apples
2. Bananas
3. Cherries- Find what = ^
- Replace with = \i. (with 2 spaces after the period)
- Regular expression = yes
- Scope = Selected text (must select text before running macro)
- button "Replace All"
Code: Select all
# SearchReplace
Replace = "^", "\\i. ", RegExp, InSelection
DoReplaceAll- If I run the regex in the regex input box, the regex works as expected.
- If I save the regex as a macro and then run the macro from the macro menu, the selected text coloring just disappears with no numbers added.
- If I run the saved macro from the macro editor, the macro works as expected.
My macro did validate. Though the text said "validated" I also got a yellow caution symbol, so I'm not sure which to believe. So why doesn't my saved macro run?
Thanks