--- In [email protected], "smrcek18" <smrce...@...> wrote: > > Hello! > > Anyone knows how can I pass variable for ULRget when using AlertIf? > > In command prompt my command is: > c:\urlget.exe http://mysite.com/test.aqh test.aqh > > But in my AFL example below it doesnt work: > > AlertIf( Buy, "EXEC c:\urlget.exe", "http://mysite.com/test.aqh test.aqh", 0, 1, 1); >
Hello. [:)] You will need to define the path on your computer to the executable program. Have you downloaded URLget.exe yet? To know the path to program simply right click on the program and left click on properties. Target is the file path. Copy and paste into AlertIf function similar to below. Your http address is also accessible but that section is for text and not to launch programs. Here is the link ... URLGet program <http://www.amibroker.com/bin/URLGet.zip> Once you have downloaded the executable program onto your computer then type the path into the AlertIf function. Example ... AlertIf( Buy, "EXEC C:\\Program Files\\AmiBroker\\Broker.exe", "Mysite.com is web hosting??", 1, 1); Make sure the slashes are double . Well that works for me. <http://www.amibroker.com/bin/URLGet.zip>
