I'm doing something similar, but it's using a lot of macros with the ones that open the bars being:
Code:
/hotbar copy THM 1 share 9
/hotbar display 10 off
/hotbar display 9 on
and the actual job switch looking like:
Code:
/micon "Soul of the Paladin" item
/gearset change 1
/hotbar display 9 off
Main thing I'm looking to do is wipe and repopulate the hotbar (in this case shared 9 and 10) so I am not reliant upon using THM 1-7 as the "storage" for the bars. It's working now basically doing what you've described, but I'm looking to do something for the role icons more like:
Code:
if(shared 9 visible){hide shared 9}
else{
populate shared 9
show shared 9
}
Edit:
Now that I think a bit through the conditions to check for, the if statement would need to be a bit more complicated than just checking if the bar was visible... and it's wandering into needing global variables of some kind. Either way, I'd still be interested to know if there's a way to populate a hotbar without doing a copy.