Does anyone have a macro to EXTEND SILENCE ? NOT the plugin please

I’d like to automatically extend silence in audio files, like the opposite of truncate.

I’m aware of the plug in, but the last time I tried to install that, it broke Audacity and I had to do a complete reinstall. So I’m not at all keen to repeat that experience.

How can I do this with a Macro ?