A swap ammo macro

Any script macro that can be done to equip X<name> & Y<name> ammo?
I understand if will be more complicated with having the quiver/ammo pouch bag in a specific slot etc but is such a macro doable and if so how?
Thank you in advance.
I understand if will be more complicated with having the quiver/ammo pouch bag in a specific slot etc but is such a macro doable and if so how?
Thank you in advance.