No internet connection
  1. Home
  2. Support

'Generic Group with VCA' script is not working

By Udi Simhon @Udi_Simhon
    2025-05-01 07:44:50.563Z

    Title

    'Generic Group with VCA' script is not working

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

    This script gets stuck.

    It happens after I input the VCA or group name.

    Are you seeing an error?

    01.05.2025 10:42:07.22 [Backend]: Logging unknown error in action (02) ClickMenuAction: kAXErrorCannotComplete Logging unknown error in action (02) RunCommandAction: Create Named Group and VCA: Line 5 !! Command Error: 2 [user:clp00xu1a0000gw10kszjhh4p:cma51zt4m0000yq10l90q3y55#cma5213se0001yq10xm1zvr0z]: kAXErrorCannotComplete SoundFlow.Shortcuts.AXUIElementException: kAXErrorCannotComplete at SoundFlow.Shortcuts.AXUIElement.DoAction(String action) + 0x98 at SoundFlow.Shortcuts.Automation.Actions.ClickMenuAction.d__20.MoveNext() + 0x394 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x100 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x68 at SoundFlow.Shortcuts.Automation.AutoAction`1.d__25.MoveNext() + 0x368

    What happens when you run this script?

    A dialog box opens and I type the name.

    After the Create Group window opens, the script gets stuck.

    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 script gets stuck.\n\nIt happens after I input the VCA or group name.\n\n\n\n\n\n\n\n",
        "inputIsError": true,
        "inputError": "01.05.2025 10:42:07.22  [Backend]: Logging unknown error in action (02) ClickMenuAction: kAXErrorCannotComplete\nLogging unknown error in action (02) RunCommandAction: Create Named Group and VCA: Line 5\n!! Command Error: 2 [user:clp00xu1a0000gw10kszjhh4p:cma51zt4m0000yq10l90q3y55#cma5213se0001yq10xm1zvr0z]:\nkAXErrorCannotComplete\n    SoundFlow.Shortcuts.AXUIElementException: kAXErrorCannotComplete\n   at SoundFlow.Shortcuts.AXUIElement.DoAction(String action) + 0x98\n   at SoundFlow.Shortcuts.Automation.Actions.ClickMenuAction.d__20.MoveNext() + 0x394\n--- End of stack trace from previous location ---\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x100\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x68\n   at SoundFlow.Shortcuts.Automation.AutoAction`1.d__25.MoveNext() + 0x368\n",
        "inputWhatHappens": "A dialog box opens and I type the name.\n\nAfter the Create Group window opens, the script gets stuck.\n\n\n\n\n\n\n\n\n",
        "inputHowRun": {
            "key": "-Mpfwh4RkPLb2LPwjePT",
            "title": "I used a keyboard shortcut within the target app"
        },
        "inputImportance": 5,
        "inputTitle": "'Generic Group with VCA' script is not working"
    }

    Source

    //Preset converted to script
    
    
    //Invoking preset "2" of template "Create Named Group and VCA" in package "Artlist"
    sf.soundflow.runCommand({
        commandId: 'user:clp00xu1a0000gw10kszjhh4p:cma51zt4m0000yq10l90q3y55',
        props: {
            disableGroupAfterCreation: undefined /* unknown error converting property value */,
            vcaSuffix: ".01",
        },
    })
    

    Links

    User UID: 2agXLuyu2oPbsGCC1lLcAOQqPAF2

    Feedback Key: sffeedback:2agXLuyu2oPbsGCC1lLcAOQqPAF2:-OP9nXwRaLZRPaTjsY57

    Feedback ZIP: IjzxpFrilHf1tX4ycMUZJ5xlbMBaNYfQdetiO3/o6mGiOG8sEPJzjJk9nBlyBykGhOvygvpjzGRfxD32IrVXtPF8UlqM17AsHFXR1A01bQPhx19vZGh7bPqDZnDutafYEujZdEfFCkY6BY9Pkjgd75kGKJDQu7c2IyTVqEzdTWxRlvaU+ka+ZtxahWNsT/Y0wLBJQFcp+0OngXLftNkfx0869xKjS+4PX/Bwu1kUwf46hyE8VkDjDeuBJFrXLOSizkO3SZdzHxCdQLYq/cIACgjIn/VfsrySwUOLRhoHdavni1BnGNbGZKoUG/8jFgqKZSdsSBHorkBEv5mwNTqxUIXMT9leuxArdfTL0M49K0E=

    • 10 replies
    1. U
      Udi Simhon @Udi_Simhon
        2025-05-01 07:45:25.337Z

        FYI @Kitch

        1. Kitch Membery @Kitch2025-05-01 07:53:38.065Z

          Hi @Udi_Simhon

          It looks like you have not defined the createVCA property in the preset... Can you set it to true and try again.

          1. UUdi Simhon @Udi_Simhon
              2025-05-01 08:08:38.613Z

              Sorry, Im not sure how to do it

              1. Kitch Membery @Kitch2025-05-01 08:23:35.145Z

                Hi @Udi_Simhon

                In SoundFlow, select the preset and there should be three properties to set. The Actual names may be different.

                • disableGroupAfterCreation: (On/Off or True/False)
                • createVCA: (On/Off or True/False)
                • vcaSuffix: ".01"

                If they are already set, you may need to reset them by clicking the title and selecting reset, then set them again.

                If that does not make sense, please take a snapshot of the preset properties so I can give you more exact instructions. :-)

                1. UUdi Simhon @Udi_Simhon
                    2025-05-01 08:32:21.418Z

                    I also reset them.

                    The same problem still occurs.

                    1. Kitch Membery @Kitch2025-05-01 08:49:01.683Z

                      Thanks @Udi_Simhon

                      I'll have to take a look tomorrow. :-)

                      1. UUdi Simhon @Udi_Simhon
                          2025-05-05 06:51:59.344Z

                          hi @Kitch any news with this?

                          1. Kitch Membery @Kitch2025-05-05 06:59:55.877Z

                            Hu @Udi_Simhon,

                            I’ll be back on Tuesday morning and it’s first thing on my list to look at.

                            If you are able to share a screen recording to help me troubleshoot the issue that would be great.

                            Thanks for your patience.

                            1. UUdi Simhon @Udi_Simhon
                                2025-05-05 07:09:07.069Z
                                1. Chad Wahlbrink @Chad2025-05-05 16:34:48.029Z

                                  Hi, @Udi_Simhon,

                                  Thanks for the screen recording.

                                  I tried setting up the macro action for "Create Named Group and VCA" on my Sequoia macOS 15.4.1, Pro Tools 2024.10.2, SoundFlow 5.10.3 setup, and I'm unable to reproduce the errors you are hitting here.

                                  Looking at your logs, it seems that your computer is currently running macOS 14.1.2 (Sonoma) - the latest version of Sonoma is presently macOS 14.7.5:
                                  https://support.apple.com/en-us/109035

                                  Please note that only macOS 14.4 and above are officially supported for SoundFlow:
                                  https://soundflow.org/docs/getting-started/install-soundflow/system-requirements#macos

                                  I suggest updating to the latest version of macOS Sonoma and letting us know if that helps solve your issues. When Sonoma was launched, we had to rework a lot of workflows involving pop-up menus because of changes made by Apple. You can read more about that here:
                                  Sequoia Popup Menu Challenges #post-3

                                  Note - You don't have to update to macOS Sequoia, but it's generally safe and suggested that you update your current macOS to the latest version.