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

Window Configuration macro crashing Pro Tools

By Dan Hibbert @Dan_Hibbert
    2024-05-22 23:24:47.318Z

    Title

    Window Configuration macro crashing Pro Tools

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

    This is crashing Pro Tools. No idea why, really frustrating as it was working fine until yesterday

    Are you seeing an error?

    What happens when you run this script?

    Pro Tools crashes

    How were you running this script?

    I used a keyboard shortcut within the target app

    How important is this issue to you?

    5

    Details

    {
        "inputExpected": "This is crashing Pro Tools. No idea why, really frustrating as it was working fine until yesterday",
        "inputIsError": false,
        "inputWhatHappens": "Pro Tools crashes",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 5,
        "inputTitle": "Window Configuration macro crashing Pro Tools\n"
    }

    Source

    //Macro converted to script
    
    
    //Calling command "Select Window Configuration" from package "Pro Tools" (installed from user/pkg/version "srAasovvDiQacRZ2mcId4RrOA8R2/ckp49i4j60000a2100yfwywgf/cltp2zdq50000i0101k7dxog6")
    sf.soundflow.runCommand({
        commandId: 'user:ckp49i4j60000a2100yfwywgf:ckovhjr8r0000h410u8k2ascb',
        props: {
            configurationNumber: 1,
        }
    });
    
    
    

    Links

    User UID: YVfzVKeiOxgamEN84insfsmb6rd2

    Feedback Key: sffeedback:YVfzVKeiOxgamEN84insfsmb6rd2:-NyXblfcIP85WwyfzbBK

    Feedback ZIP: Li0r3oeB0Bs1MJ30g3usWYd+v03PeiwSahmptB0mMLgshPghViYpjTXxZBZYM7+E1UohAME6C4Y2sytC73rGZh4p7fZRPFvVYC7O2102hD3CkX4X4d5LACEO/9Un0dRI+FcKue6vDGw4xS6TGMAa8HS77EYn7bN77eHB4tr3qWfiwXwKIf1rgHahfg7Zd/0T3aUcoVqT9nT0EE7VhovR9Zol2t4YPLo+EEf1n3hCgcIXeTZNZT13LQM2zAQqv2x+/fs33Eec2XlBEuH9ubVYfHPRj1jpQihCmbXcJJFhZnvFSIxw7jQGKesOgIYT5WJhUevxWXhWGeAA94RjoQQG2+hx2P2seUQMc3hvplBkH34=

    • 4 replies
    1. Hi Dan,

      Thanks for reporting. All this script does is click a menu item in Pro Tools for you - so the crash must have to do with Pro Tools or Pro Tools plugins that may have issues. You should report this to Avid so they can take a look.

      1. DDan Hibbert @Dan_Hibbert
          2024-05-23 20:47:49.465Z

          Right but if it was just a Pro Tools issue, I'd be getting crashes when I manually click the menu item myself. I don't, only when Soundflow attempts to access it. Hence the report

          1. That's a good point, but this is still a Pro Tools bug, so it will need to be reported to Avid. Pro Tools may be processing events coming from macOS Accessibility differently than regular mouse clicks, which could explain why there's a difference in what you're seeing.
            Please note that SoundFlow doesn't talk directly to Pro Tools in this case, only through macOS, so no bug in SoundFlow could cause Pro Tools to crash.

            1. My advice would be to update to the newest version of Pro Tools first to see if that bug has already been addressed (there's a good chance since they did work on menus recently).