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

New Tracks — recall track preset script stops working in some sessions, always works in fresh new session.

By Anthony Valcic @Anthony_Valcic
    2024-08-09 22:01:27.862Z

    Title

    New Tracks — recall track preset script stops working in some sessions, always works in fresh new session.

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

    In Pro Tools, opens the new track dialog and selects a previously stored track preset for a midi track and then again for an audio track corresponding to that midi track.

    Are you seeing an error?

    It is not consistent, If I start a new blank session it works fine, I was unable to break it. However after working on a mix for some time, perhaps crossing some threshold that I can't fathom, — it breaks.

    What happens when you run this script?

    New tracks dialog opens, my track presets subfolder is selected "_STUDIO" but then it fails to choose the preset and reports an error.

    How were you running this script?

    Other

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "In Pro Tools, opens the  new track dialog and selects a previously stored track preset for a midi track and then again for an audio track corresponding to that midi track. ",
        "inputIsError": true,
        "inputError": "It is not consistent, If I start a new blank session it works fine, I was unable to break it. However after working on a mix for some time, perhaps crossing some threshold that I can't fathom, — it breaks. ",
        "inputWhatHappens": "New tracks dialog opens, my track presets subfolder is selected \"_STUDIO\" but then it fails to choose the preset and reports an error. \n",
        "inputHowRun": {
            "key": "-MpfwoFyZNOpBC3X5xGI",
            "title": "Other"
        },
        "inputImportance": 5,
        "inputTitle": "New Tracks — recall track preset script stops working in some sessions, always works in fresh new session."
    }

    Source

    
    //Calling command "New..." from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/clxwb51i90000ls10pzla3duo")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:cktqgh7kv00164k10b9xodbl0#cktqcbwes00044k10otnusjsd',
        props: {}
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.popupButtons.allItems[1].popupMenuSelect({
        menuPath: ["Track Presets","_STUDIO"],
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.popupButtons.allItems[2].popupMenuSelect({
        menuPath: ["09 MATRI MIDI"],
    });
    sf.wait({
        intervalMs: 100,
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.buttons.whoseTitle.is("Add row").first.elementClick();
    
    sf.wait({
        intervalMs: 100,
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.popupButtons.allItems[3].popupMenuSelect({
        menuPath: ["Track Presets","_STUDIO"],
    });
    
    sf.wait({
        intervalMs: 100,
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.popupButtons.allItems[2].popupMenuSelect({
        menuPath: ["10 MATRI Audio"],
    });
    
    sf.ui.proTools.windows.whoseTitle.is("New Tracks").first.buttons.whoseTitle.is("Create").first.elementClick();
    
    

    Links

    User UID: BUZUUKbOCpgG3IyfgANsk28SBKo1

    Feedback Key: sffeedback:BUZUUKbOCpgG3IyfgANsk28SBKo1:-O3t9IMN6NzImscrr2p_

    Feedback ZIP: FpbRQ42bXuFNcI8MVYZyu/wFWkdf94l5W6c5uz5D0a7APL6fv9zqIIMGfyI5JDkxPnWqWyycx4l2BcgIy66ltPLnHUKNSvt3woCt2vgxyOMNecvo8cmey6pL3IH8AM8Lh6qXwwpuHkGoEL1k3QnBMpUc/++toYYOdLRCckMJKyGbDg18R9yiCTmXzHcSmP3k2IlKJv5Z827Ma3BaXpowduwdqR2VfcCvlDdLAHKyA9eAGiSKb2EnB/lz64ITQ7GmxeBDMGALhMU9puBTsCq4agXHArUyOxIkSO3GT4PHEh9lpxS8sbX/Zdcc92JZxXqNCZ5sAW5WAuj6Fvf/Zky2tw==

    • 0 replies