Disable Trackpad when mouse is conntected

Can the trackpad automatically be disabled when a mouse (wired, bluetooth or wireless) is connected?
I have read the post Disable touch pad on this forum but it doesn't work on Catalina.

Kind regards,
EifX

Imprint | Privacy Policy