No internet connection
  1. Home
  2. Macro and Script Help

Recall Track Preset on Selected Track is hitting an error.

By Erik Groysman @Erik_Groysman
    2024-02-21 22:15:44.127Z

    Title

    Recall Track Preset on Selected Track is hitting an error.

    What do you expect to happen when you run the script/macro?

    What the heck??

    21.02.2024 14:12:38.87 [Backend]: Logging unknown error in action (02) RunCommandAction: Recall Track Preset on Selected Track: Line 7
    !! Command Error: Preset: CLEAR INSERTS [user:clbb9ctpq00016w10utf7revs:clbba1nqp000l6w100mzggn84]:
    @Error running command user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac (Preset: CLEAR INSERTS: Line 1)
    Could not open popup menu (Recall Track Preset on Selected Track: Line 7)
    Popup menu was not found
    Popup window was not found after waiting 2000 ms

    Are you seeing an error?

    21.02.2024 14:12:38.87 [Backend]: Logging unknown error in action (02) RunCommandAction: Recall Track Preset on Selected Track: Line 7 !! Command Error: Preset: CLEAR INSERTS [user:clbb9ctpq00016w10utf7revs:clbba1nqp000l6w100mzggn84]: @Error running command user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac (Preset: CLEAR INSERTS: Line 1) Could not open popup menu (Recall Track Preset on Selected Track: Line 7) Popup menu was not found Popup window was not found after waiting 2000 ms

    What happens when you run this script?

    Recall Track Preset on Selected Track doesn't seem to be working.

    Nothing complicated

    How were you running this script?

    Other

    How important is this issue to you?

    3

    Details

    {
        "inputExpected": "What the heck??\n\n21.02.2024 14:12:38.87  [Backend]: Logging unknown error in action (02) RunCommandAction: Recall Track Preset on Selected Track: Line 7\n!! Command Error: Preset: CLEAR INSERTS [user:clbb9ctpq00016w10utf7revs:clbba1nqp000l6w100mzggn84]:\n@Error running command user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac (Preset: CLEAR INSERTS: Line 1)\n    Could not open popup menu (Recall Track Preset on Selected Track: Line 7)\n    Popup menu was not found\n    Popup window was not found after waiting 2000 ms",
        "inputIsError": true,
        "inputError": "21.02.2024 14:12:38.87  [Backend]: Logging unknown error in action (02) RunCommandAction: Recall Track Preset on Selected Track: Line 7\n!! Command Error: Preset: CLEAR INSERTS [user:clbb9ctpq00016w10utf7revs:clbba1nqp000l6w100mzggn84]:\n@Error running command user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac (Preset: CLEAR INSERTS: Line 1)\n    Could not open popup menu (Recall Track Preset on Selected Track: Line 7)\n    Popup menu was not found\n    Popup window was not found after waiting 2000 ms",
        "inputWhatHappens": "Recall Track Preset on Selected Track doesn't seem to be working.\n\nNothing complicated",
        "inputHowRun": {
            "key": "-MpfwoFyZNOpBC3X5xGI",
            "title": "Other"
        },
        "inputImportance": 3,
        "inputTitle": "Recall Track Preset on Selected Track is hitting an error."
    }

    Source

    //Macro converted to script
    
    
    //Calling command "Recall Track Preset on Selected Track" from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/cln0nxiji0000yp102352fxp9")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac',
        props: {
            trackPresetPath: ["EG","+CLEAR_INS"],
        }
    });
    
    
    

    Links

    User UID: 4IdcahLJr2fOBTpXAmmXtgkP6d52

    Feedback Key: sffeedback:4IdcahLJr2fOBTpXAmmXtgkP6d52:-NrCjHtj7zNRTsYnzZQI

    Feedback ZIP: gqejov4wObpVoU579TBV0IIt7okHGD0PvU5GJJSmsfmXhCpP8qPSueWGmd3Cy5NEVONz5QeyRKEcTrCflJkrHII0AJw4PQAtcaPi7Ke0PYFkGUPGhP0tjOv+RrH6uCGtFHGFaFF7Sr1pwLPsYIy8Y52L5CbhNYHoN3zqFL7osX/DwXjJ9y+bV5K4uFy/Q7hN3PmENeFhx/z6brRr0vlFfRcDrmUyLrbRkwGp4coHCN4UGfRndBR9mJdE3jEmSwXzzvRc2d+mBiQigBRjl6sLzxHRhYqsIb4JNh7I24C/hbkh73/MOAyR45sIr6fuTUKSwIcmajIOpnx+bvELHz70Kg==

    Solved in post #20, click to view
    • 20 replies

    There are 20 replies. Estimated reading time: 10 minutes

    1. Hey @Erik_Groysman! This is a new issue in the current PT beta version and will be fixed soon.
      In the meantime, here's a script to keep you going while the Pro Tools package gets updated:
      cc: @chrscheuer

      const trackPresetPath = ["EG", "+CLEAR_INS"];
      
      if (!sf.ui.proTools.isRunning) throw `Pro Tools is not running`;
      
      sf.ui.proTools.appActivateMainWindow();
      
      sf.ui.proTools.selectedTrack.titleButton.popupMenuSelect({
          relativePosition: { x: 0, y: 5 },
          isRightClick: true,
          menuPath: ['Recall Track Preset', ...trackPresetPath],
      });
      
      1. E
        In reply toErik_Groysman:
        Erik Groysman @Erik_Groysman
          2024-02-22 03:07:02.000Z

          I had a feeling it had to do with Beta.

          Thank you!

          1. EErik Groysman @Erik_Groysman
              2024-04-06 18:25:17.878Z

              Hey @raphaelsepulveda ,
              Should I be switching all of my macros to this script? The original is still not working...

              1. Mmm.. the original was fixed a while ago. Can you make sure you're on the latest version of SoundFlow and give it another shot? https://my.soundflow.org/install

                1. EErik Groysman @Erik_Groysman
                    2024-04-06 18:35:47.100Z2024-04-06 18:43:31.872Z

                    Ahh I was on 5.7.6.
                    I updated to 5.7.7 and it's not working.

                    I even went into the macro and replaced the 'New Track with Preset' with a fresh one and it's still giving me this error:
                    06.04.2024 11:32:36.04 [Backend]: Logging unknown error in action (02) RunCommandAction: New Track with Track Preset: Line 16
                    !! Command Error: Preset: SYNTHS Vintage [user:clbb9ctpq00016w10utf7revs:clg422tuw00013d10fu98jmhk]:
                    @Error running command user:ckp49i4j60000a2100yfwywgf:ckftk383t00005t10fis94s21 (Preset: SYNTHS Vintage: Line 9)
                    Could not click popup menu item (New Track with Track Preset: Line 16)
                    Could not find menu item with name: Track Presets -> EG

                    But it does exist

                    1. Ah, hold on. The original command for this thread was the Recall Track Preset on Selected Track and here you're using the New Track with Track Preset one. So it seems like that one also has a bug. Are you on Sonoma?

                      Could you double-check that the original Recall Track Preset command does indeed work?

                      1. EErik Groysman @Erik_Groysman
                          2024-04-06 18:51:31.108Z

                          Ahh right that was a recall situation.

                          I just tested it and it does NOT work either. I tested what I had and then made a brand new one to the same result:

                          06.04.2024 11:50:59.13 [Backend]: Logging unknown error in action (02) RunCommandAction: Recall Track Preset on Selected Track: Line 7
                          !! Command Error: Preset: CLEAR SENDS [user:clbb9ctpq00016w10utf7revs:clbba32us000n6w1080ll4l9x]:
                          @Error running command user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac (Preset: CLEAR SENDS: Line 1)
                          Could not click popup menu item (Recall Track Preset on Selected Track: Line 7)
                          Could not find menu item with name: Recall Track Preset -> EG -> +CLEAR_SENDS

                          I am on Ventura 13.6.3

                          1. Damn, ok. Could you go to the store and download my package, Raphael Sepulveda Utilities. I have two commands in there that perform the same function: RS_Recall Track Preset and RS_Create New Track with Track Preset. I recently updated those, if they work for you then I can suggest the changes I made be applied to these commands as well. Let me know.

                            1. EErik Groysman @Erik_Groysman
                                2024-04-06 19:24:34.554Z

                                I tried both and neither worked...

                                06.04.2024 12:22:48.11 [Backend]: Logging unknown error in action (02) RunCommandAction: RS_Create New Track with Track Preset: Line 47
                                !! Command Error: SYNTHS Analog [user:cluoh96bx0000p110zbwqsp2r:ckilausmg000br910x1wluhgz#cluohdcyg0001p110wkv3hq5r]:
                                Could not click popup menu item (RS_Create New Track with Track Preset: Line 47)
                                Could not find menu item with name: Track Presets -> EG

                                06.04.2024 12:24:05.88 [Backend]: Logging unknown error in action (02) RunCommandAction: RS_Recall Track Preset: Line 31
                                !! Command Error: Default Preset Duplicate [user:cluoh96bx0000p110zbwqsp2r:ckijr17d8000d4z107bj1d4dd#cluohg3100002p1108f9e15nw]:
                                Could not click popup menu item (RS_Recall Track Preset: Line 31)
                                Could not find menu item with name: Recall Track Preset -> EG -> +CLEAR_SENDS

                                1. Damnnnn. That probably means one thing.

                                  There's this pesky bug involving Melodyne and AutoTune in which there's a chance that Pro Tools creates a folder inside one of the track preset folders which breaks the ability to select a menu item in the same popup menu you're having trouble with.

                                  Could you go to your Track Presets folder in Finder and see if there is a Melodyne or AutoTune folder somewhere in there? If so, delete it and give it another shot.

                                  1. EErik Groysman @Erik_Groysman
                                      2024-04-06 19:32:01.815Z

                                      Negatory!

                                      1. Erik and I figured this out offline and the problem has to do with bug SF-1169.

                                        In Erik's case, it happens because he has a single preset folder inside the "~/Documents/Pro Tools/Track Presets" directory. As soon as we created a new folder with a dummy track preset inside and restarted PT everything started working.

                                        For anyone experiencing the same issue, try this workaround while the bug gets fixed!

                                        1. JJosé Miziara @Jose_Miziara
                                            2024-06-07 03:33:37.627Z

                                            I was having the same problem, but here I had one track preset inside my folder.
                                            When I added a second track preset to the same folder, then I could recall presets from my folder category.

                                            It seems there is an issue with "only one item scenario" in this and possibly other pop up menus?

                                            anyway thank you for the insight @raphaelsepulveda

                                            1. Hi José. Are you on Sonoma?

                                              1. JJosé Miziara @Jose_Miziara
                                                  2024-06-09 14:13:16.008Z

                                                  Hi Christian
                                                  yes, Sonoma 14.3.1, Soundflow 5.7.7

                                                  1. Christian Scheuer @chrscheuer2024-06-09 19:33:59.048Z2024-06-10 14:20:11.608Z

                                                    Perfect, then I believe this has been fixed internally. The fix should come out in the coming week(s) (5.7.8)

                                                    1. Please check with this version - the issue should be fixed here:

                                                      https://downloads.soundflowcdn.com/5.7/5.7.8/f7b27e62b1750596/SoundFlow_5.7.8.pkg

                                                      Reply1 LikeSolution
                                                      1. EErik Groysman @Erik_Groysman
                                                          2024-06-10 21:39:02.659Z

                                                          Tested and it's working!

                                                          Thank you...no longer does my presets folder have to share!

                          2. S
                            In reply toErik_Groysman:
                            SoundFlow Bot @soundflowbot
                              2024-04-08 12:56:18.342Z

                              This report was now added to the internal issue tracked by SoundFlow as SF-1169

                              1. S
                                In reply toErik_Groysman:
                                SoundFlow Bot @soundflowbot
                                  2024-06-10 21:00:00.301Z

                                  The linked internal issue SF-1169 has been marked as Done