You cannot show/hide protected frames in insecure ways.
If that was possible it would be fairly trivial to have an addon play the game for you by hiding every button but the one you should be hitting next.
Show/hide/move for protected frames (premier examples being actionbars and unitframes) can only be done under the constraints of the secure system.
Simplistically you can only use macro conditionals and some actions will still require a hardware action on top (a player click or keypress)
|