#NEWLINE# def set_output_volume( volume ) : #NEWLINE# #INDENT# "\n    Set the volume of sound.\n\n    volume\n        The level of volume. Can range from 0 to 100.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' desktop.set_output_volume <volume>\n    " #NEWLINE# cmd = 'osascript -e "set volume output volume {0}"' . format ( volume ) #NEWLINE# call = __salt__ [ 'cmd.run_all' ] ( cmd , output_loglevel = 'debug' , python_shell = False ) #NEWLINE# _check_cmd ( volume ) #NEWLINE# return get_output_volume ( )