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

RE: Do any Easylanguage Experts have a clue about this ?



PureBytes Links

Trading Reference Links

Mike
Great Call! , What I don't understand is why the function was returning a
"true" which
was supposed to indicate the file was found. But It works now

Thanks.

Jerry

> -----Original Message-----
> From: Mike Gossland [mailto:mga@xxxxxxxx]
> Sent: Tuesday, October 22, 2002 12:11 PM
> To: Jerry War
> Subject: Re: Do any Easylanguage Experts have a clue about this ?
>
>
>
> Hi Jerry,
>
> If this is copied and pasted, then check the name of your
> directory, for starters. Not likely to be really spelled "ultilities"!
>
> HTH,
> Mike Gossland
>
> >I have tried using playsound to get my attention when an
> alert ocurrs.
> >Easylanguage returns a true like it is supposed to if it finds
> >the wav file and the alert pops up on the screen but no
> sound. The wav file
> >plays fine by double clicking from explorer, so my sound
> card and speakers
> >are working fine. Does anyone have any ideas ? The code is
> pretty simple it
> >is inserted below. This is ts2000i.
> >
> >Thanks
> >Jerry
> >
> >
> >
> >Input: Price(Close), Length1(9), Length2(22), Displace(0);
> >
> >If Displace >= 0 OR CurrentBar > AbsValue(Displace) Then Begin
> >        Plot1[Displace](AverageFC(Price, Length1), "SimpAvg1");
> >        Plot2[Displace](AverageFC(Price, Length2), "SimpAvg2");
> >
> >{Alert Criteria}
> >        Condition1 = Plot1 <> Plot2;
> >        IF Plot1 Crosses Above Plot2 AND Condition1 Then
> >                Begin
> >
> Print(PLaySound("c:\ultilities\sounds\Ahooga.wav"));
> >                        Alert("LongEminent");
> >                End
> >        Else
> >                IF Plot1 Crosses Below Plot2 AND Condition1 Then
> >                Begin
> >
> Print(PLaySound("c:\ultilities\sounds\Ahooga.wav"));
> >                        Alert("Short Eminent");
> >        End;
> >End;
>