I'd like to have a button that toggles a toolbar on and off. Currently I have a button that turns a toolbar on and it has a flyout that has a second button that turns if off. Can this be done with a single button that turns the toolbar on and if clicking the same button again will recognize that the toolbar is already on and then turns if off. Can this be done with an "if then" type macro?
Thank you
I am using Autocad 2011
The macro for each button is
To show ^C^C-Toolbar;Sprinkler_Toolbar;s;
To hide ^C^C-Toolbar;Sprinkler_Toolbar;h;
I have several custom mechanical electrical toolbars that I use and prefer not to have them on screen all the time. I find hiding and showing the ones specific to what I'm currently working on makes the screen less busy. What I have works fine, I'm just trying to streamline it slightly.
Thanks
I've given this more thought and I think the fact that the toolbars don't have a switch or a 0=off, 1=on or similar command, that an if/then macro would not work.
Anyone have any other ideas?