Cannot select UI element in settings/keyboard/keyboard shortcuts on Ventura 13.4.1
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
Christopher Barnett @Christopher_BarnettNOT 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",
});
Christopher Barnett @Christopher_Barnett@Error invoking element.waitFor (Use F1, F2 as standard function keys Toggle: Line 4)
Element was not found or removed after waiting 2000 ms
In reply toChristopher_Barnett⬆:Kitch Membery @Kitch2023-08-14 18:43:26.492ZUnfortunately, 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.
In reply toChristopher_Barnett⬆:Kitch Membery @Kitch2023-08-14 18:45:03.518ZIf you could explain further what you are trying to achieve that would also be helpful. :-)
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettI 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.
Christopher Barnett @Christopher_BarnettThere are multiple steps to get there, but fails at the new UI for System settings
- In reply toChristopher_Barnett⬆:
Kitch Membery @Kitch2023-08-14 20:43:21.167ZHi 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. :-)
- In reply toChristopher_Barnett⬆:
Kitch Membery @Kitch2023-08-14 20:49:01.387ZOne 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.
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettFor 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
Kitch Membery @Kitch2023-08-14 23:05:10.546ZAh 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.
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettI am sure you have something better to do
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_Barnettthank you
In reply toChristopher_Barnett⬆:Kitch Membery @Kitch2023-08-18 07:46:14.214ZI 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.
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettThank 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.
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettYes worked perfectly.
Where do you live Kitch, California ?
Kitch Membery @Kitch2023-09-06 03:33:59.344ZGlad it worked Christopher!
Cali... I do indeed. :-) Studio City!
- LIn reply toChristopher_Barnett⬆:Les Cooper @Les_Cooper
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.
In reply toChristopher_Barnett⬆:Christopher Barnett @Christopher_BarnettYou 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.