No internet connection
  1. Home
  2. How to

Inactive and Reactive plugin

By Emil Woxen @Emil_Woxen
    2020-12-28 21:11:06.971Z

    How would one go about Inactivating plugin on insert 1, wait for it to inactivate, and then re-activate it again?

    Why i need this:
    I use EQ3 in preview mode whilst listening sweeping the EQ bands, and this often promps a bug in pro tools, which inables one to move several bands, and so you have to inactivate the plugin, and then reactivate it in order to make it function again / for some reason Avid have choosen not fix the bug, ever..

    • 3 replies
    1. samuel henriques @samuel_henriques
        2020-12-29 10:23:12.720Z

        Hello @Emil_Woxen,

        try this,

        sf.ui.proTools.appActivateMainWindow();
        
        const insertA = sf.ui.proTools.selectedTrack.groups.whoseTitle.is('Inserts A-E').first.buttons.whoseTitle.is('Insert Assignment A').first
        
        insertA.popupMenuSelect({
            isRightClick: true,
            menuPath: ["Make Inactive"],
            targetValue: "Enable",
        });
        
        insertA.popupMenuSelect({
            isRightClick: true,
            menuPath: ["Make Active"],
            targetValue: "Enable",
        });
        
        1. samuel henriques @samuel_henriques
            2020-12-29 10:27:29.167Z

            this one is faster, but could be less stable

            const insertA = sf.ui.proTools.selectedTrack.groups.whoseTitle.is('Inserts A-E').first.buttons.whoseTitle.is('Insert Assignment A').first.mouseClickElement({
                isCommand:true,
                isControl:true,
                clickCount:2
            })
            
            1. EEmil Woxen @Emil_Woxen
                2020-12-29 11:11:21.309Z

                It's perfect! Thank you so much!

                Stupid bug has been hunting me for years, and it seems like they're never gonna fix it..