EditLowerCase command not working in a bigger Macro?
Posted: Mon May 27, 2024 4:19 pm
I have written a macro with these commands in it:
EditLowerCase
# SearchReplace
Replace = " ", "-", MatchCase, InSelection
DoReplaceAll
the idea is that if I select text like this in a line:
a Test of Making all lc with no Spaces
and run the macro I should get:
a-test-of-making-all-lc-with-no-spaces
unfortunately, when I run the Macro given above I just get this:
a-Test-of-Making-all-lc-with-no-Spaces
So the EditLowerCase command is not working. If I try moving the EditLowerCase to the end of the macro instead of the start, there is no change in outcome.
I might be doing something super stupid here, but any help would be appreciated.
In general it would be nice to see (in the Textpad documentation) many more examples of how you write macros.
Finally I did email support but after initial contact got no response to the above problem.
As I say, thanks for your help.
EditLowerCase
# SearchReplace
Replace = " ", "-", MatchCase, InSelection
DoReplaceAll
the idea is that if I select text like this in a line:
a Test of Making all lc with no Spaces
and run the macro I should get:
a-test-of-making-all-lc-with-no-spaces
unfortunately, when I run the Macro given above I just get this:
a-Test-of-Making-all-lc-with-no-Spaces
So the EditLowerCase command is not working. If I try moving the EditLowerCase to the end of the macro instead of the start, there is no change in outcome.
I might be doing something super stupid here, but any help would be appreciated.
In general it would be nice to see (in the Textpad documentation) many more examples of how you write macros.
Finally I did email support but after initial contact got no response to the above problem.
As I say, thanks for your help.