Momentary toggle two tags with one push button

Is there a simple method to momentarily toggle two tags using a momentary PB (or other control component) or is a script necessary?

You could create a one-shot scanclass to trigger the tags.

scripting might work but is complicated method, instead use a momentary button

Thanks all.

I ended up using the writeblocking script and a momentary PB. It seems that after setting the bit via the script, the button (maybe due to its inherent programming properties sets the bit back to the opposite state without having to program a pause and then a toggle backā€¦