[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add a .WAV file to an alert?



PureBytes Links

Trading Reference Links

> With regard to the below showme, can someone tell me what line goes into
> the IF statement in order to get my wav file to play when the alert is
> triggered.  Thanks, Simon, ------------------------
> 
> Inputs: sfile("c:\download\sounds36.wav");
> 
> condition1=o>c;
> 
> if condition1 then begin
>   Plot1(Low,"ShowMe");
>   IF CheckAlert Then Alert = TRUE;
> end;



vars: ALARM(true); 

condition1=o>c;

if condition1 then begin
  Plot1(Low,"ShowMe");
  IF CheckAlert Then Alert = TRUE;
  ALARM=playsound("c:\download\sounds36.wav");
end;


rgds hans
playsound("c:\ZEBRA.wav");