Any way to set macros to actually replace the files they are editing?

Windows 10, Audacity 2.3.2

Hey,
I’m using Audacity to replace some annoying chat sound files in an online game with silence, and I would like to know if I can set my macro I set up to replace it with silence to, instead of creating a new file in a different folder, to replace the original files with the same name?

Thanks.

No, that’s not possible when batch processing with normal Macros. It would be pretty risky if it did, as even a small mistake could totally and permanently destroy your work.

It is possible to do that with “Python Scripting”, but unless you are already familiar with Python programming, that’s a lot more complex than Audacity’s built-in macros (and I wouldn’t recommend doing it because of the safety risk).