Home Technical Talk

Max 2010 - toggle on/off the ribbon tooltips

I didn't write this, it's from a friend. Toggles Max 2010's ribbon tooltips on/off.

Seems you have to toggle it at least once to get it started, then on the second hit it will turn off most of the tooltips (except for the main one).
macroScript RibbonTooltipsToggle
    category:"Modeling: Graphite Tools"
    toolTip:"Toggle the Ribbon Tooltips On/Off"
    buttonText:"Tooltips"
    (
        global __showRibbonTooltips__
        
        on execute do
        (
            local manager = dotnetclass "Autodesk.Windows.ComponentManager"
            if __showRibbonTooltips__ == false then        
            (
                __showRibbonTooltips__ = manager.ToolTipSettings.IsEnabled = true
            )
            else
            (
                __showRibbonTooltips__ = manager.ToolTipSettings.IsEnabled = false
            )
            
        )
        
        on isChecked do
        (
            __showRibbonTooltips__
        )
)

Replies

  • CodeFather
    Options
    Offline / Send Message
    CodeFather polycounter lvl 15
    Hey, 10x ! They can be turned off also by renaming the tooltips folder to something else (it is in the max root/UI/Ribbon)
  • Mark Dygert
    Options
    Offline / Send Message
    Hey nice, I'll probably mix it together with my toggle bottom bars script I wrote.
    macroScript BottomToggle
    category:"VigTools"
    toolTip:"TogBottomBars (H)*"
    (-- Toggles on and off the bottom toolbar
        fn togglebotoff = 
            (
                trackbar.visible = false 
                timeSlider.setVisible (false) 
                statusPanel.visible = false 
            )
            
        fn toggleboton = 
            (
                trackbar.visible = true 
                timeSlider.setVisible (true) 
                statusPanel.visible = true 
            )
            
        if statusPanel.visible == false and trackbar.visible == false then
            (
                toggleboton()
            )
        
        else
            (
                togglebotoff()
            )
    )
    
    I'll probably set it up to cycle through the different configurations.
    Or maybe just make a little floating UI I can call up that lets me check on what I do and do not want visible...
    Ideally it would make sense to put this stuff in the right click menu for the icon toolbar, but sadly I think that's locked down, maybe the quad menu...
  • Eric Chadwick
    Options
    Offline / Send Message
    There's some good info in the tooltips, so it's nice to be able to turn 'em back on once in a while.
  • CompanionCube
    Options
    Offline / Send Message
    CompanionCube polycounter lvl 12
    sweet, very handy
  • gsokol
    Options
    Offline / Send Message
    Awesome!

    I get tired of those stupid things popping up.
Sign In or Register to comment.