tb87, I like to keep all my files together so I don’t use assets or other folders to ‘hide’ my attachments. (I’m real big on ensuring I can see everything in Windows explorer; all related files begin with the same name so if I move something I know all the files to move with it).
I suppose I could use the second part of your code, but the idea of going into settings, appearance, and enabling/disabling the snippet multiple times/day would try what little patience I have.
Good work-around for those who don’t need to keep changing the setting though.