Announcement

Collapse
No announcement yet.

terminating wav playing

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

    terminating wav playing

    I have a script that starts a wav file that is several minutes long.

    hs.PlayWavFileEx "C:\Documents and Settings\Dell\Desktop\Sound2.wav",100,100,true


    I want to make a script to terminate this playing wav if i run another command. How would I do this?

    #2
    John,
    Unfortunately you can't unless you run it in a separate process thread external from HS.
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Run it from mcsMovement then you will have a virtual device that can be used to terminate it or view its completion status.

      Comment

      Working...
      X