Does Overpass count as scripting? There are lots of overpass examples that allow you to select by various attributes, and that can be used to download data into JOSM.
Obviously using that to make a bunch of undiscussed changes to OSM is frowned upon - always discuss changes like this first if you’ve crossed that threshold.