No internet connection
  1. Home
  2. Support

Soundflow search menu disappears

By Nacho @Nacho_Sotelo
    2020-10-26 14:53:27.852Z

    Hi! I'm using the following script to search from a predetermined group of tracks

    sf.ui.proTools.appActivateMainWindow();
    
    var templateFxTracks = ["Track 1", "Track 2"];
    
    var selectedFxTrack = sf.interaction.popupSearch({
        items: templateFxTracks.map(name => ({
            name: name
        }))
    }).item.name;
    

    The problem I'm having right now is that the soundflow search menu quickly appears and disappears before I can make a selection. This script was working fine for me for a long time, I'm not sure what changed. Some times if I run the script 3-4 times from my streamdeck the search menu will finally stay there allowing me to make a selection

    Any help would be appreciated!

    • 4 replies
    1. Hi Nacho,

      Do you have any SoundFlow scripts running in the background by any chance? Anything using runForever in the code?

      1. NNacho @Nacho_Sotelo
          2020-10-26 17:09:32.280Z

          Not using runForever in any part of the script

          The soundflow logo on the menu bar turns blue for an instant and then immediately grey without any error message

          1. Ok, thanks. Please use this to get us a log file of what's occuring:

      2. Progress
      3. @chrscheuer closed this topic 2020-10-26 17:52:55.029Z.