^P don't show the steps in commandline
' do it transparent - so a running command will not cancel by this macro
_ it follow the engl. commandname (this way, the command works in all language versions)
. use the original command (it is possible that plugins re-defined the normal command, the period forcing the original one)
TRANSPARENCYDISPLAY is the commandname (the englisch one)
; Semicolon is an ENTERhit in menumacros, to send the input to the program
$M= like send feedback to Acad/commandline / here starting a DIESELexpression
$(if, IF
$(and, AND
$(getvar,TRANSPARENCYDISPLAY), feedback/value of TRANSPARENCYDISPLAY variable
1 is 1
), end of AND expression, which is a test for "all values are 1"? to verify if transparencydisplay is currently set to 1 (or not to 1)
0, send 0
1 send 1
) end of IF expression
HTH