Hi Cleitus and Bego!
Checking Continue if a Find with Replace not found
is normally the correct advice, but not in this case. The 2 finds in the 2 macros should always find the string because the search string was inserted before by the macro itself.
By the way: a better english name for this property would be "Continue if a Find not found".
But here I think the problem is what I have posted in my first post at Perl RegExs misbehaving in v12.10b
. In v12.10b of UltraEdit and v6.00a of UEStudio a normal non-regex find executed from within a macro never finds the string when the Perl compatible regular expression engine is active. In your first macro there is no regex engine selecting macro command because you don't use any regex search. But if you have the Perl engine selected in the configuration dialog, the non regex finds in the macro are not working nevertheless because the Perl engine is active.
Solution: Switch temporarily to an other regex engine.
I'm also wondering about the Key BACKSPACE in your macro. I think you want to delete the line inserted at top of the file, but Key BACKSPACE executed at top of the file will not do it. Key DEL or macro command DeleteLine would be better.
Here is my solution for your macro. The macro property Continue if a Find with Replace not found
should have no influence on macro execution.
PlayMacro 1 "CountUp"
You can remove the green "
lines if you don't want it. But I personally don't like text files where the last line of the file is not terminated with CRLF or with LF only or with CR only depending on the file type DOS/UNIX/MAC.