The way to do this is by using StrongED's *MESSAGE system. Thus the following (all on one line)
*Message StrongED_ExecCmds NoIndent GotoBlock_Start InsertStr("|<span class=\"icon\">") GotoBlock_End InsertStr("|</span>") BlockClear
will insert <span class="icon"> before the marked block and </span> after it.
Makro allows you to use * Commands, so it uses the OS keyword message which broadcasts the string starting StrongED_ExecCmds which StrongED responds to. The commands to be executed follow. These StrongED's functions are:
Note the ue of | before <. These are necessary or the text inside < > will be expanded by the OS rather than being treated as literal characters.
Of course you can use this system with any other Macro inserter, or tie such a message to a key or icon. However !Makro seems to be the most versatile inserter for this sort of use as it can handle upto 32 macros on one menu.
Was this page helpful? Please email me and/or rate this page: