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

[amibroker] alertif() - HowTo Suppress the output window text



PureBytes Links

Trading Reference Links

I want to suppress the   text in the output window, and only send an email (or sound, etc)
According to the manual, setting flags to 0 should accomplish  this,   http://www.amibroker.com/guide/afl/afl_view.php?name=AlertIf
However .. no matter what I sent these flags to.. I still get the output window message.

Here's an example .. the 1st alertif plays a sound to wake me up.  The 2nd is supposed to email me.   Both functions work.
But I still get the output window message on the 2nd one.

    buy= somewonderfulsystem;      Message = "Oooh, Something Happened " ;    

    AlertIf( True , "SOUND C:\\Data\\SOUNDS\\Error.wav",Message, 2,1);    // Sound plays,

    AlertIf( True , "EMAIL",Message, 2,0);  // flags are 0, so no output msg 




Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.39/687 - Release Date: 2/14/2007 4:17 PM