switchboard panel
Prints the macro widgets the menu bar panel is showing now, by section.
Details #
switchboard panel widgets prints each section the panel shows (for example "In Safari") and the widgets under it, with a toggle's state, a readout's value or a slider's level.
switchboard panel widgets
switchboard panel widgets --json
Parameters #
switchboard panel widgets [--json]
The macro widgets the menu bar panel shows now, by section.
Gotchas #
Exit code 69 means the engine is not running.
A widget appears only while its macro's Only if holds, so the list changes with the front app, the Wi-Fi and the clipboard.