Playing .WAV files

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by MikeEco, Jun 13, 2011.

  1. MikeEco

    MikeEco

    Joined:
    Jun 23, 2008
    Messages:
    22
    Likes Received:
    0
    Location:
    Sydney
    Hi All,

    Is it possible to play a .WAV file when a group is triggered on a colour C-Touch?

    I've managed to get it to work on a button when it is pressed on the screen but can't get it to work when the group is activated via a key input.

    Any Suggestions?

    Cheers
    Mike
    ECOsystems
     
    MikeEco, Jun 13, 2011
    #1
  2. MikeEco

    Darren Senior Member

    Joined:
    Jul 29, 2004
    Messages:
    2,361
    Likes Received:
    0
    Location:
    Adelaide, South Australia
    Do something like this in logic:

    Code:
    once GetLightingState("My Group") then
    begin
      Execute('sound.wav', '');
    end;
     
    Darren, Jun 13, 2011
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.