This function mutes the media selection that's currently playing. The selection continues to play, but sound is not heard.
Parameter: mute
Type: boolean
Description: Use TRUE to mute the selection and FALSE to unmute it.
Parameter:
host (optional)
Type: string
Description: Leaving this a null string will apply the command to the first
instance HomeSeer finds, otherwise use the hostname of the computer for
this command. If
more than one instance of the Speaker application is running on "host"
then you may need to specify the instance as well in the format host:instance.
None.
sub main()
' mute the Windows Media Player
hs.MediaMute TRUE
end sub