Just to toss this out there, it sounds like you are trying to make gear swap macros similar to FFXI?

If so, it's not possible. I believe Yoshi P. even mentioned something about this, (wish I had a reference to the quote somewhere, if I find it I'll add it to this post). Personally, that last thing I want to see implemented, I don't want to carry 3 different sets of gear for one job just so I can get a +1 stat for one spell/action/effect, swap out my gear for another action, swap gear for another action, swap gear for another action, etc.

If not, I'm not quite sure what you are trying to do then. :X