Module Expr Str ImportFrom alias Import alias ImportFrom alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return NameLoad Return TupleLoad NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Return Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults vararg body Expr Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad keyword Str keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq SubscriptLoad NameLoad Index Str Num body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body AugAssignAdd NameStore NameLoad If NameLoad body AugAssignAdd NameStore NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list
N/A N/A 
Mac OS X implementations of various commands in the "desktop" interface
 __future__ absolute_import N/A salt.utils salt.exceptions CommandExecutionError N/A __virtualname__ desktop __virtual__ N/A N/A N/A N/A N/A 
    Only load on Mac systems
     N/A N/A N/A N/A salt utils is_darwin N/A N/A __virtualname__ N/A N/A False Cannot load OSX desktop module: This is not an OSX host. N/A get_output_volume N/A N/A N/A N/A N/A 
    Get the output volume (range 0 to 100)

    CLI Example:

    .. code-block:: bash

        salt '*' desktop.get_output_volume
     N/A cmd osascript -e "get output volume of (get volume settings)" N/A call N/A N/A __salt__ N/A cmd.run_all cmd output_loglevel debug python_shell False N/A N/A _check_cmd call N/A N/A N/A call get stdout N/A set_output_volume N/A N/A volume N/A N/A N/A 
    Set the volume of sound.

    volume
        The level of volume. Can range from 0 to 100.

    CLI Example:

    .. code-block:: bash

        salt '*' desktop.set_output_volume <volume>
     N/A cmd N/A N/A osascript -e "set volume output volume {0}" format volume N/A call N/A N/A __salt__ N/A cmd.run_all cmd output_loglevel debug python_shell False N/A N/A _check_cmd call N/A N/A get_output_volume N/A screensaver N/A N/A N/A N/A N/A 
    Launch the screensaver.

    CLI Example:

    .. code-block:: bash

        salt '*' desktop.screensaver
     N/A cmd open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app N/A call N/A N/A __salt__ N/A cmd.run_all cmd output_loglevel debug python_shell False N/A N/A _check_cmd call N/A True N/A lock N/A N/A N/A N/A N/A 
    Lock the desktop session

    CLI Example:

    .. code-block:: bash

        salt '*' desktop.lock
     N/A cmd /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend N/A call N/A N/A __salt__ N/A cmd.run_all cmd output_loglevel debug python_shell False N/A N/A _check_cmd call N/A True N/A say N/A N/A N/A words N/A N/A 
    Say some words.

    words
        The words to execute the say command with.

    CLI Example:

    .. code-block:: bash

        salt '*' desktop.say <word0> <word1> ... <wordN>
     N/A cmd N/A N/A say {0} format N/A N/A join words N/A call N/A N/A __salt__ N/A cmd.run_all cmd output_loglevel debug python_shell False N/A N/A _check_cmd call N/A True N/A _check_cmd N/A N/A call N/A N/A N/A 
    Check the output of the cmd.run_all function call.
     N/A N/A N/A call N/A retcode 0 N/A N/A comment N/A std_err N/A N/A call get stderr N/A std_out N/A N/A call get stdout N/A std_err N/A N/A comment std_err N/A std_out N/A N/A comment std_out N/A N/A CommandExecutionError N/A N/A Error running command: {0} format comment N/A call N/A