Knockout position with macro

Hi,
Is it possible to create a macro to knockout a position? I couldn't do it myself so far...
Thanks in advance!