Qlab system prefs

Hi Pros,

I would like to retrieve the folowing parameters from System Settings.
I got to that point to make Input sources section visible in the window.
But this point I’m stuck.Here is the code snippet which reveals it.
I need help getting input sources for the keyboard and getting the active one and setting the other one. Hope it is clear.
Thanks for the replies in advance.

	set the current pane to pane id "com.apple.preference.keyboard"
	delay 0.5
	reveal anchor "InputSources" of current pane
	--get the name of every anchor of current pane

Best,
Kalman

What OS are you on? The id differs on different OSes

Monterey the OS.
Thx