Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Playback the audio file when the camera stops recording:

    Code Block
    OnEvent("CAM",N,"REC_STOP")
    {
        DoReact("PLAYER","1","PLAY_WAV","file<C:\Program Files (x86)\Intellect\Wav\cam_alarm_"+N+".wav>","from_macro<1>");
    }


  2. Stop playing back the audio file when the camera starts recording:

    Code Block
    OnEvent("CAM",N,"REC")
    {
    	DoReact("PLAYER","1","STOP_WAV");
    }