No internet connection
  1. Home
  2. Support

Created Memory location should have option or always knows, how many marker already have in the session so it can created the new memory location number instead of keep created memory location number

By Tanapong Ounpigul @Tanapong_Ounpigul
    2026-01-15 01:24:39.993Z

    Title

    Created Memory location should have option or always knows, how many marker already have in the session so it can created the new memory location number instead of keep created memory location number "0"

    Content type

    macro

    Content name

    Auto Marker

    Content package

    Augmented M&E Default Package

    Version info

    OS: macOS 15.7.3
    SoundFlow: 6.0.9
    Pro Tools: 25.12.0.127

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

    Create Memory location with automate new number on Pro Tools. Right now every time I use the macro, it with created Marker/memory location, but it will always the same number, which will bring back to the place that already got the marker.

    Are you seeing an error?

    What happens when you run the macro?

    I think the action "Create Memory location" from Pro Tools package, should have always/or option to auto created the new Memory location Number related to the marker number that already appear in the session itself. Right now if I don't change anything on Macro, it will always back to the Marker number 0, which actually redandent with the previous marker that already have.

    How were you running this macro?

    I used a Stream Deck button

    How important is this issue to you?

    5

    Details

    {
        "textExpected": "Create Memory location with automate  new number on Pro Tools. Right now every time I use the macro, it with created Marker/memory location, but it will always the same number, which will bring back to the place that already got the marker.",
        "textWhatHappens": "I think the action \"Create Memory location\" from Pro Tools package, should have always/or option to auto created the new Memory location Number related to the marker number that already appear in the session itself. Right now if I don't change anything on Macro, it will always back to the Marker number 0, which actually redandent with the previous marker that already have.",
        "inputHowRun": "I used a Stream Deck button",
        "inputImportance": 5,
        "textTitle": "Created Memory location should have option or always knows, how many marker already have in the session so it can created the new memory location number instead of keep created memory location number \"0\""
    }

    Source

    //Macro converted to script
    
    
    sf.ui.proTools.memoryLocationsCreate();
    
    
    

    Links

    User UID: 42ZWxVMONiSWnUoTsGMlMqkyQYf2

    Feedback Key: sffeedback:42ZWxVMONiSWnUoTsGMlMqkyQYf2:-OizFICWAmrPrv1Vs0SN

    Feedback ZIP: DbBFE+l6wcS6RpfnohdQikU6F0wV7MEdTBoB+g9U6Zun5y8qKyvgeOWtxHR7wVYYQvSAceUD4oTCi7HpjhXxZB6GgRSJkOe51sEalKdyC059Yakk6bHg0SdCDX4IzOaogL7rbtq9r4V+WWzibv2kwc8UJ08aTDMZab9RpIM5OSOqZxc4O5m02uL2P2p4AMoWGIxxL9OZdZC3jalEx/nIncSfAM+yvsxwmiNUqyxUMvW7EJZdtA+8KrnViJ8VFUXnDwiQ/MpWioWeNeURGMxgJkt8HRBMqUh4XdSM6E+cWCrRXE50mM9a7ccBlmfzqNjtFTFNdV4UzpfIeOzU5LCy6EFefr9vmT4ZxU3KOMjiiB4=

    • 9 replies
    1. Chad Wahlbrink @Chad2026-01-19 21:33:21.965Z

      Hi, @Tanapong_Ounpigul,

      I think the issue you are hitting is that sf.ui.proTools.memoryLocationsCreate() is designed to create a specific numbered memory location.

      If you want to have a single command to create a new memory location wherever you are in the session with a new number each time, you can use a script like this:

      if (sf.ui.useSfx) sf.ui.useSfx();
      
      function createMemoryLocationAtSelection({ name }) {
          if (!sf.ui.proTools.isSfxApplication)
              sf.ui.proTools.appActivateMainWindow();
      
          // Get current position using SDK
          const mainCounterValue = sf.app.proTools.getTimelineSelection().inTime;
      
          sf.app.proTools.createMemoryLocation({
              name: name,
              startTime: mainCounterValue,
              timeProperties: "Marker",
              reference: "Absolute"
          });
      }
      
      createMemoryLocationAtSelection({ name: "New Marker" });
      
      1. @Chad Hi!! Thanks again for the suggestion. Is there any chance we could do this as an 'action' instead of a script? I think it would be easier to follow and more useful for those of us who don't really understand scripting (I don't actually know how to write code, but I think I understood the steps just by reading what you shared lol).

        Thanks in advance! I'm really enjoying SoundFlow; it helps me save a lot of time and has finally helped me create tasks that were stuck in my head for so long. PS. I do have another issues that I submitted not sure that I should share on this reply or not.

        1. Chad Wahlbrink @Chad2026-01-20 16:22:55.864Z

          Hi, @Tanapong_Ounpigul,

          I've logged a feature request for this idea. It could be good to have a "Create Memory Location Sequentially" macro action.

          For now, you could accomplish this by adding a new script for this to a package in your account:

          Then you can call that script from any macro by searching for the script's name when using "Add Action" - like this:

          Hope that helps.

          1. Hi @Chad hope you're doing well, the script you gave me was very helpful on my workflow at this moment, however, it seem like the marker/memory location will created on the timeline where I select, which a bit different then I want it to be, I usually want to create marker real time while I playback to check content, it's do able with numpad enter, but after I change my keyboard (with no numpad) it seem not working. Not sure if it makes sense to you or not.

            Please let me know.

            1. Chad Wahlbrink @Chad2026-02-27 20:47:25.510Z

              That makes sense!

              If you are just trying to simulate what you can do with numpad Enter, you can use this simple one-liner:

              sf.ui.proTools.sfx.dawCommands.getByUniquePersistedName("CreateMemoryLocationRuler").run();
              

              If you want to drop a marker at the playhead without naming it or having a dialog, you can use this version:

              if (sf.ui.useSfx) sf.ui.useSfx();
              
              function createMemoryLocationAtPlayhead({ name }) {
                  if (!sf.ui.proTools.isSfxApplication)
                      sf.ui.proTools.appActivateMainWindow();
              
                  // Get current playhead position from the Main Counter display
                  const mainCounterValue = sf.ui.proTools.mainWindow
                      .counterDisplay.textFields.whoseTitle.is("Main Counter").first.value.value;
              
                  sf.app.proTools.createMemoryLocation({
                      name: name,
                      startTime: mainCounterValue,
                      timeProperties: "Marker",
                      reference: "Absolute"
                  });
              }
              
              createMemoryLocationAtPlayhead({ name: "New Marker" });
              
              1. Thanks @Chad, please help me consider having it as a new macro feature in the future update to, if possible :)

                1. Chad Wahlbrink @Chad2026-03-05 23:43:20.905Z

                  We have it logged for consideration, @Tanapong_Ounpigul!

      2. S
        SoundFlow Bot @soundflowbot
          2026-01-20 16:05:42.918Z

          This issue is now tracked internally by SoundFlow as SF-3310

          1. Progress
          2. S
            SoundFlow Bot @soundflowbot
              2026-02-24 22:25:30.711Z
              SoundFlow support ticket: SFSUP-160