applescript – Why cannot I exploit Automator to accurately goal UI parts in System Preferences? [ventura]

on

|

views

and

comments


I am attempting to make use of Automator to report an motion on the system preferences, within the accessibility show pane. I need to change the worth of the slider for the colour filter depth.

I exploit automator to Watch Me Do and report the motion. I reset the preferences manually. Clicking run doesn’t trigger the setting to vary in preferences.

So I drag the actions from the Watch Me Do panel to the workflow timeline, which pop-out the motion into an AppleScript. Working that is additionally not profitable.

Can I manually set this desire not directly through the cli? After I search Apple developer docs, all I am discovering is Swift code to write down an utility. ((I notice that the app that may do that change, Automator, Terminal, or in any other case, will must be granted accessibility permissions underneath privateness/safety system preferences.))

Or how do I get/write an AppleScript to do that?

split image of automator (the result of its actions), and system preferences accessibility display pane


Additionally, I’ve checked the OSAX dictionary for System Preferences, and it doesn’t have extra particular controls registered moreover on the fundamental window/pane/and so forth degree

enter image description here

Share this
Tags

Must-read

Nvidia CEO reveals new ‘reasoning’ AI tech for self-driving vehicles | Nvidia

The billionaire boss of the chipmaker Nvidia, Jensen Huang, has unveiled new AI know-how that he says will assist self-driving vehicles assume like...

Tesla publishes analyst forecasts suggesting gross sales set to fall | Tesla

Tesla has taken the weird step of publishing gross sales forecasts that recommend 2025 deliveries might be decrease than anticipated and future years’...

5 tech tendencies we’ll be watching in 2026 | Expertise

Hi there, and welcome to TechScape. I’m your host, Blake Montgomery, wishing you a cheerful New Yr’s Eve full of cheer, champagne and...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here