Toggle action bar macro

hey guys. anyone knows if you can use a macro to toggle on and off an action bar. lets say show and hide actoin bar 5.

Could modify this script to suit your needs

Thanks, gonna try this out