No internet connection
  1. Home
  2. How to

How can I open the New Memory Location window in Pro Tools WITHOUT using Number Pad Enter?

By T Francis @T_Francis
    2025-02-18 14:38:06.177Z

    I use separate play & stop keys (Number Pad Enter is Play and Number Pad 0 is Stop), so to open the New Memory Location dialogue, I have to hold Number Pad Comma then press Number Pad Enter.

    Is there a way (via a script) to either call upon the window directly, or otherwise to use the alternate key command?

    Many Thanks!

    • 2 replies
    1. There are two ways to do this.

      • You can reassign the keyboard shortcut in PT:
      • Or you can use this script
        (Delete the last line if you want the memory locations window to remain open):
      const memoryLocationsWindow = sf.ui.proTools.memoryLocationsWindow.invalidate()
      const isMemoryLocationsWindowOpen = memoryLocationsWindow.exists;
      
      // Open Memory Locations window
      if (!isMemoryLocationsWindowOpen) {
          sf.ui.proTools.menuClick({
              menuPath: ["Window", "Memory Locations"]
          })
      }
      
      // Wait for Memory Locations window
      sf.waitFor({callback: () => memoryLocationsWindow.exists })
      
      // Create new memory location
      const memLocationsPopup = memoryLocationsWindow.popupButtons.whoseTitle.is("Memory Locations").first;
      
      memLocationsPopup.popupMenuSelect({
          menuPath:["New Memory Location..."]
      })
      // If Memory Locations window was closed, close it (Delete this line to keep window open)
      if (!isMemoryLocationsWindowOpen) memoryLocationsWindow.windowClose()
      1. T
        In reply toT_Francis:
        T Francis @T_Francis
          2025-02-19 09:26:11.513Z

          Great, this seems to work well!

          Thanks Chris

          T