Your approach is a little bit dangerous. Improved version of your macro code:
InsertMode
ColumnModeOff
HexOff
Top
Find MatchWord "<FONT"
Replace All "<font"
Find MatchWord "<H1"
Replace All "<h1"
Find MatchWord "<H2"
Replace All "<h2"
Find MatchWord "<H3"
Replace All "<h3"
Find MatchWord "<H4"
Replace All "<h4"
Find MatchWord "<A"
Replace All "<a"
:
:
Command Top always sets cursor to column 1 of line 1, so Key HOME is not necessary anymore after Top. A Replace All does not change cursor position, so 1 Top is enough.
Run a macro on all open files see
viewtopic.php?t=1044viewtopic.php?t=493And some more issues about that can be found in the macro and find forum, because I (author: Mofi) have written some more solutions. Search for it by yourself.
Maybe it's better for you to use the ReplInFiles command, if you always want to do the replace on several files at once.