Announcement

Collapse
No announcement yet.

Check status of MUTE?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Check status of MUTE?

    I have a few important events that I would like to speak even when HS is muted. Is there a way to check the status of mute so I can set it back the way it was after an event? In other words, if speech is muted, I want these events to unmute it, speak, then mute it back. If speech is unmuted, then the event just needs to speak.

    #2
    Try something like this:

    <pre class="ip-ubbcode-code-pre">
    ...
    if hs.MuteSpeech = true then
    hs.MuteSpeech = False
    hs.speak "testing 123"
    'if you want to re-mute then keep this line
    hs.MuteSpeech = True
    else
    hs.speak "testing 123"
    end if
    </pre>
    -Rupp
    sigpic

    Comment


      #3
      Thanks Rupp. I didn't realize I could test the MuteSpeech variable. I thought I could only set it.

      Comment

      Working...
      X