macOS implementations of various commands in the "desktop" interface
salt.modules.mac_desktop.
get_output_volume
()¶Get the output volume (range 0 to 100)
CLI Example:
salt '*' desktop.get_output_volume
salt.modules.mac_desktop.
lock
()¶Lock the desktop session
CLI Example:
salt '*' desktop.lock
salt.modules.mac_desktop.
say
(*words)¶Say some words.
The words to execute the say command with.
CLI Example:
salt '*' desktop.say <word0> <word1> ... <wordN>
salt.modules.mac_desktop.
screensaver
()¶Launch the screensaver.
CLI Example:
salt '*' desktop.screensaver
salt.modules.mac_desktop.
set_output_volume
(volume)¶Set the volume of sound.
The level of volume. Can range from 0 to 100.
CLI Example:
salt '*' desktop.set_output_volume <volume>
Generated on October 02, 2023 at 04:08:45 UTC.
You are viewing docs for the previous stable release, 3005.3. Switch to docs for the latest stable release, 3006.3, or to a recent doc build from the master branch.
© 2023 VMware, Inc. | Privacy Policy