Thank you,
The solution was :
AlertIf(1,"exec
C:\\Program
Files\\Amibroker\\Formula\\custom\\MYPROGRAM.EXE","PARAM1");
Ok
with the double backslash, but PARAM1 = the text argument of the Alertif
fonction. Works fine this way.
This
is explained in the Internet AFL guide (not in the Help (F1) from the editor) :
http://www.amibroker.com/guide/afl/afl_view.php?alertif
Thank
you,
AL,
-----Message d'origine-----
De :
[email protected] [mailto:[EMAIL PROTECTED] De la part de mac_bosh
Envoyé : mardi 16 mai 2006
17:08
À : [email protected]
Objet : [amibroker] Re:
ALERTIF EXEC
AL,
Try escaping your backslashes -
AlertIf(1,"exec C:\\Program
Files\\Amibroker\\Formula\\custom\\MYPROGRAM.EXE,PARAM1","MYTEXT");
Cheers
Bosh
--- In [email protected], "martinod" <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
> Does anyone knows how to transfer command line parameters with
Alertif
> / Exec :
>
> AlertIf(1,"exec C:\Program
>
Files\Amibroker\Formula\custom\MYPROGRAM.EXE,PARAM1","MYTEXT");
>
>
> I tried that based on ShellExecute syntax, but did not succeed.
>
> Thanks for your help,
>
> Regards,
>
>
> AL,
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS