No internet connection
  1. Home
  2. How to

Pro Tools Automation Trim Mode

By Audio Remote @Audio_Remote
    2021-02-10 17:58:26.153Z

    Hello:
    I am trying to use the system macor to put all tracks into trim mode. Iy fails. The log is below.
    Any Suggestions please?

    10.02.2021 12:59:14.04 [Backend]: #StreamDeck: KeyDown (1,2) -> Automation Trim (All Tracks)

    Command: Automation Trim (All Tracks) [proTools.automation.modes.trimAll]

    10.02.2021 12:59:14.05 [Backend]: Executing AutomationModeAction

    10.02.2021 12:59:14.06 [Backend]: Logging unknown error in action (02) AutomationModeAction: Object reference not set to an instance of an object.

    10.02.2021 12:59:14.06 [Backend]: !! Command Error: Automation Trim (All Tracks) [proTools.automation.modes.trimAll]:
    System.NullReferenceException: Object reference not set to an instance of an object.
    at SoundFlow.Shortcuts.Ax.AxNodes.AxPtTrackAutomationModeButton.<>c.b__1_0(AXUIElement) + 0x20
    at sfbackend!+0x1f0362b
    at sfbackend!+0x22feaed
    at SoundFlow.Shortcuts.Ax.AxNodes.AxPtTrackAutomationModeButton.GetUIElement() + 0xa9
    at SoundFlow.Shortcuts.Ax.AxNodes.AxElement.LoadUIElement() + 0x27
    at SoundFlow.Shortcuts.Ax.AxNodes.AxNode.GetOrCreateValue[TValue](TValue&, Func1) + 0x24 at SoundFlow.Shortcuts.Automation.AutoActionResult.RequireUI(AxElement, String) + 0x24 at SoundFlow.Shortcuts.Automation.Actions.AutomationModeAction.<Execute>d__11.MoveNext() + 0x2b3 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c at sfbackend!<BaseAddress>+0x178c42b at sfbackend!<BaseAddress>+0x178c366 at SoundFlow.Shortcuts.Automation.AutoAction1.d__20.MoveNext() + 0x317
    << Command: Automation Trim (All Tracks) [proTools.automation.modes.trimAll]

    • 4 replies
    1. Hi Chris,

      Have you followed the steps to set up the SoundFlow HUI emulation in Pro Tools?

      https://soundflow.org/commands/pro-tools/automation-modes/proTools-automation-modes-trimAll

      1. From a cursory look at the log you're quoting, it appears as if the HUI emulation is not correctly set up, so SoundFlow tries to implement this via UI automation.
        When implementing it via UI automation, the track heights need to be large enough so that the "trim" popup button is being shown, and you also need to have selected tracks.
        With the HUI emulation, this should work faster and regardless of selection.

        1. RRyan @Ryno
            2023-09-03 08:00:55.201Z

            Is HUI emulation setup as simple as installing HUI Control from the App store? The above link to the setup guide isn't working anymore

            Thanks

            1. Hi Ryan,

              If you need help with a newer package, such as HUI Control, please open a new thread as I don't think your question is related to what's being discussed in this old one (indeed the answer wouldn't be).

              You can select the package you need help with in the app, and click Package Forum to get straight to the right place. Or go here:
              SoundFlow Forum