I can't seem to execute Voiceover command with JXA.
The following AppleScript works.
tell application "VoiceOver"
tell commander to perform command "item chooser"
end tell
However, the following script in JXA throws a mystery error.
vo = Application("VoiceOver")
vo.commander.performCommand("item chooser")
Error 6: An error occurred.
I'd really appreciate any help with this!
Thanks so much!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I understand that you want echoCancellation and noiseSuppression in most cases, but I would like to be able to turn off all the filter processes for this particular use case.
When I set echoCancellation: false in navigator.mediaDevices.getUserMedia, Safari 26 on MacOS produces stereo recording even if I set channelCount: 1.
When I set echoCancellation: true, it produces mono recording as expected.
How can I get mono recording with echoCancellation: false and channelCount: 1?
Thanks!
Topic:
Safari & Web
SubTopic:
General