No internet connection
  1. Home
  2. Support

Create New Track, Recall Track Preset

By Johnny Ceravolo @Johnny_Ceravolo
    2025-04-24 20:05:42.599Z

    Title

    Create New Track, Recall Track Preset

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

    I am trying to create a macro that will open a new audio track, name it BASS, and then recall a track preset called BASS BIAS.

    Are you seeing an error?

    It is having a problem with the recall track preset on selected track which is a command under pro tools.

    Sometimes it works, sometimes it doesnt. When I remove the recall preset command, the new track is created without issue. When I do a separate macro that is just recalling the preset, it works fine. But when I put the recall track preset after the create new track command, it fails to recall the preset.

    What happens when you run this script?

    see previous answer

    How were you running this script?

    I clicked the "Run Script" or "Run Macro" button in SoundFlow

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "I am trying to create a macro that will open a new audio track, name it BASS, and then recall a track preset called BASS BIAS. ",
        "inputIsError": true,
        "inputError": "It is having a problem with the recall track preset on selected track which is a command under pro tools.\n\nSometimes it works, sometimes it doesnt. When I remove the recall preset command, the new track is created without issue. When I do a separate macro that is just recalling the preset, it works fine. But when I put the recall track preset after the create new track command, it fails to recall the preset.\n\n",
        "inputWhatHappens": "see previous answer",
        "inputHowRun": {
            "key": "-MpfwYA4I6GGlXgvp5j1",
            "title": "I clicked the \"Run Script\" or \"Run Macro\" button in SoundFlow"
        },
        "inputImportance": 5,
        "inputTitle": "Create New Track, Recall Track Preset"
    }

    Source

    //Macro converted to script
    
    
    //Calling command "Create New Track(s)" from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/clxbw9ryd00048510ouxoukak")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:ckumdk025000hph10fohx90lw',
        props: {
            trackFormat: "Mono",
            trackType: "Audio Track",
            trackTimebase: "Samples",
            trackName: "BASS",
            clickCreate: true,
        }
    });
    
    //Calling command "Recall Track Preset on Selected Track" from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/clxbw9ryd00048510ouxoukak")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:ckfs5niws0007v110s447k1ac',
        props: {
            trackPresetPath: ["Avid","BASS BIAS"],
        }
    });
    
    
    

    Links

    User UID: d9Dm68YCE6Y1Nk6QHFatQBeQip33

    Feedback Key: sffeedback:d9Dm68YCE6Y1Nk6QHFatQBeQip33:-OOdOzCfSkvWP-cKiOOc

    Feedback ZIP: Nm7hI44Nx/r7HXVi6UtQds3xf0n+qlre7n1Q0HtOjS3q7iM0UTMT2TL6ObYcH2bWPLRI4H/bDWzH2LRtLMlnEwhYE4Fq2cq2ZCKb5l15XmBkWRf4NvRsdDD8s/raq/5egr0hbNBkXtHpjOcIMbsrbRJ36GHAyRZ5OFC+HclYRHVO/4QwKovb4eSmM0kXy3FWWZcc6aErrcolNDngMbmKdKPmgf3sJLMUvR+Zkc3Lhq4xv3HztudgCdlJp7escZeIFBZyQBPh1x6PjNlffDb2BbB+LzJ/AeN4b64FWFP6ts1p2gjbnmcADWGOGqFARthic7bHj7P4RmCMevIVs+fduv96+YCapALhJ7HAghX4TJE=

    • 1 replies
    1. Kitch Membery @Kitch2025-04-24 21:29:15.421Z

      Hi @Johnny_Ceravolo

      Let's continue troubleshooting in the other thread.