However, it is not playing the sound.
I have a print statement showing the sound file it should be playing (Alert1.wav) and that looks good in the output window.
I see the line show up in the Alerts Log window with proper color and warning level so that proves the Alert method is firing correctly.
But I do not hear the wav file playing.
I can hear other NT 8 sounds like 'Order Filled', etc.
Here is the block of code:
if (arrowDirection > 0) { Print(Time[0] + ", playing audio alert: Alert1.wav"); Alert("audioAlert", Priority.Low, "Potential LONG", "Alert1.wav", 20, Brushes.LightSkyBlue, Brushes.Black); } else { Print(Time[0] + ", playing audio alert: Alert1.wav"); Alert("audioAlert", Priority.Low, "Potential SHORT", "Alert1.wav", 20, Brushes.PaleVioletRed, Brushes.Black); }
Gary
Comment