How to format other macros?

You do not need to memorize everything in the macro. The easiest way is to insert that macro using the menu. You just need to try to repeat the letter in the format part (3rd section) of the macro and see what you get. For example, when you insert a File/Name macro, you see {FILE|FileName|ff|} by default. To change what will be displayed as the actual text, you just need to change the number of "f" letter.

This applies to File/Size, File/Index, File/New file name too.