No internet connection
  1. Home
  2. Support

Cannot select UI element in settings/keyboard/keyboard shortcuts on Ventura 13.4.1

By Christopher Barnett @Christopher_Barnett
    2023-08-14 17:42:16.415Z

    Cannot select UI element in setings/keyboard/keyboard shortcutson Ventura 13.4.1

    System Information

    SoundFlow 5.4.3

    OS: darwin 22.5.0

    ProductName: macOS
    ProductVersion: 13.4.1
    BuildVersion: 22F82

    Steps to Reproduce

    Expected Result

    Would expect the UI element to be seleted

    Actual Result

    Would like to be able to select UI elements

    Workaround

    NONE

    Other Notes


    Links

    User UID: v40xNCfzodSP5TiU9qpivyGL7tJ3

    Feedback Key: sffeedback:v40xNCfzodSP5TiU9qpivyGL7tJ3:-Nbp81sq4Yb5h8iHz2nO

    Feedback ZIP

    • 18 replies
    1. NOT FUNTIONING

      sf.ui.app("com.apple.systempreferences").mainWindow.groups.first.splitGroups.first.groups.allItems[1].groups.first.scrollAreas.first.groups.allItems[1].buttons.whoseDescription.is("Keyboard Shortcuts…").first.elementWaitFor({
      waitType: "Appear",
      });

      1. @Error invoking element.waitFor (Use F1, F2 as standard function keys Toggle: Line 4)
        Element was not found or removed after waiting 2000 ms

      2. Kitch Membery @Kitch2023-08-14 18:43:26.492Z

        Hi @Christopher_Barnett,

        Unfortunately, the information you have provided is insufficient for me to understand what you are experiencing. Can you please provide me with Steps to reproduce the issue?

        Thanks in advance.

        1. Kitch Membery @Kitch2023-08-14 18:45:03.518Z

          If you could explain further what you are trying to achieve that would also be helpful. :-)

          1. I am on ventura silicon Mac Studio, and I have used UI picker multiple times but fr some reason it does not seem to work on this version, is there a current issue ?

            trying to pick system settings, keyboard, keyboard shortcuts, function keys, Use F1, F2 etc as standard functions keys

            Kinda odd behaviors

            Thanks Kitsch, hope you are well.

            1. There are multiple steps to get there, but fails at the new UI for System settings

              1. Kitch Membery @Kitch2023-08-14 20:43:21.167Z

                Hi Chris,

                Thanks for that info, could you take a screenshot of the window you are talking about? Then I'll take a look and see what's going on.

                Also as a troubleshooting step be sure to quit SoundFlow from the icon up by the clock and do a re-open SoundFlow from the applications folder.

                It is worth mentioning some UI elements may not be easily accessible to SoundFlow (or accessible at all) and may require being found manually (by debugging). For these kinds of questions best to ask in the "How to" section of the forum.

                I hope you too are well. :-)

                1. Kitch Membery @Kitch2023-08-14 20:49:01.387Z

                  One other question, can you tell me what you are trying to achieve in this window?

                  As SoundFlow is already an automation platform, using keyboard shortcuts in the system settings could "potentially" cause a conflict with your SoundFlow shortcuts.

                2. For Protools I am switching between "use F1, F2 as standard funstions keys" on and off, so when I am not in Protools I have mute volume etc. When I am in PT I need that option on, its buried pretty deep and I did have it working on Monterey but then Apple "updated" the UI for Settings and it broke

                  1. Kitch Membery @Kitch2023-08-14 23:05:10.546Z

                    Ah yeah, I too see the settings UI elements have changed a bit. I'll have to investigate this further when I have a moment. there may be a better way to do this with a bash script. I'll keep you posted.

                  2. I am sure you have something better to do

                    1. thank you

                      1. Kitch Membery @Kitch2023-08-18 07:46:14.214Z

                        Hi @Christopher_Barnett,

                        I did a little digging and worked it out. This script should toggle the Function keys without opening System Preferences.

                        // Toggle Fn keys in System Preferences
                        sf.system.exec({
                        	commandLine: `# Read the current value
                        current_value=$(defaults read -g com.apple.keyboard.fnState)
                        
                        # Toggle the value (convert true to false and false to true)
                        if [ "$current_value" = "1" ]; then
                            new_value="false"
                        else
                            new_value="true"
                        fi
                        
                        # Write the new value
                        defaults write -g com.apple.keyboard.fnState -boolean $new_value` });
                        
                        // Refresh System Preferences
                        sf.system.exec({
                        	commandLine: `/System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u`
                        });
                        

                        Let me know if it works for you.

                        1. Thank you so much Kitch for taking the time, and saving me a lot of time. I don't think I would have ever figured this out.

                          1. Yes worked perfectly.

                            Where do you live Kitch, California ?

                            1. Kitch Membery @Kitch2023-09-06 03:33:59.344Z

                              Glad it worked Christopher!
                              Cali... I do indeed. :-) Studio City!

                            2. L
                              Les Cooper @Les_Cooper
                                2025-11-05 07:09:51.959Z

                                Hi, I'm resurrecting an older thread here. Thanks to both of you for addressing this.
                                I'm wondering if there could be a way to make this automatic so that the function keys operation is defined by whether PT is focused.
                                I can trigger with application focus but I'd rather have some kind of conditional detect than a toggle.

                                1. You would have to make a loop which checked constantly but that’s not worth it. Could be messy. Just bind it to some key and press it if it’s not working. I get it though. Maybe there is a way.