Common syntax:
#def {macros_name}$({arguments})
{body}
#end def
"%SystemRoot%\System32\chcp.com" 65001 > nul
"%SystemRoot%\System32\tasklist.exe" | "%SystemRoot%\System32\find.exe" "Calcpad.exe" || ("%programfiles%\Clavier\Clavier.exe /sendkeys "[{Focus,10,*Notepad++}][Ctrl+S]" & timeout 1 & start "" "%programfiles%\Calcpad\Calcpad.exe" "%~1" & exit)