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

Macro for IO Settings Window Crashes Pro Tools

By David Stagl @David_Stagl
    2024-02-23 17:03:51.812Z

    Title

    Macro for IO Settings Window Crashes Pro Tools

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

    It should open the Pro Tools IO settings window. Then it should open the window so I may select an IO configuration file to import.

    Are you seeing an error?

    After I select a file to import the settings. A window opens up next that asks if I wish to replace all busses. When I click "Yes", Pro Tools crashes.

    This only happens if I use the macro. If I manually click "Import Settings", select the file, open it, and replace all busses, I don't have any issues.

    What happens when you run this script?

    Everything seems to work fine, but Pro Tools crashes when I click "Yes" to replace all busses. I don't have this issue if I go through the process manually.

    How were you running this script?

    I used a keyboard shortcut within the target app

    How important is this issue to you?

    3

    Details

    {
        "inputExpected": "It should open the Pro Tools IO settings window. Then it should open the window so I may select an IO configuration file to import.",
        "inputIsError": true,
        "inputError": "After I select a file to import the settings. A window opens up next that asks if I wish to replace all busses. When I click \"Yes\", Pro Tools crashes.\n\nThis only happens if I use the macro. If I manually click \"Import Settings\", select the file, open it, and replace all busses, I don't have any issues.",
        "inputWhatHappens": "Everything seems to work fine, but Pro Tools crashes when I click \"Yes\" to replace all busses. I don't have this issue if I go through the process manually.",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 3,
        "inputTitle": "Macro for IO Settings Window Crashes Pro Tools"
    }

    Source

    //Macro converted to script
    
    
    //Calling command "I/O..." from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/clsndygnw0000o510i0mifzbn")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:cksir6xnw001j6e10j886ptbi#cksiaf4mc000v6e10hcm2pkkp',
        props: {}
    });
    
    sf.ui.proTools.windows.whoseTitle.is("I/O Setup").first.buttons.whoseTitle.is("Import Settings...").first.elementClick();
    
    
    

    Links

    User UID: cLPQQlgA6SX7DSnymqYDcm58oeu1

    Feedback Key: sffeedback:cLPQQlgA6SX7DSnymqYDcm58oeu1:-NrLv4vC5WAYDtD2_lJl

    Feedback ZIP: a001GQX+YdjbAh8LUaL3h1Anm3fihK6nu04IDdsUNvS5lfnRZLqhDnVSDXUHa6qa1HskMvgEfIc8t1Gi0ewoIG+zzaOnG2Q2bqHbOlxOEC7aQ3T925p1i6ID4KdJa7cr6Zt6NMyIiIs0dfg7JY55SujQ6A949ncI1PpaiccC0G5eN1PKhk6jWEgZkzXiuZrhnvXtIKqaQRbyyP1ewFTjjCVULNrV9Q99zytuj1pxhsAGbj5Anz5f1VpXAsPFiRptkVjd2GrHIg7rDcobBOD0ZAOMRhpM5bwIqqQdAX/Q/UK/hciBamKPe0OGKs26gAWl6MX97obI5FFDF9URYQ8s/h/zfxVtLRgSKJeNysbLzuk=

    • 0 replies