Hello!

Yes, I know about absolute path to UrlGet, but how can I pass both parameters 
(remote url, path to local file) from Alertif EXEC to URLget.exe?

btw: url and paths I use in this example are not real

path to UrlGet: c:\urlget.exe
path to file on remote server: http://mysite.com/test.aqh
local filename where the data is saved: test.aqh

Smrcek

--- In [email protected], "jollypollyanna" <jollypolly...@...> wrote:
>
> 
> --- In [email protected], "smrcek18" <smrcek18@> 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>
>


Reply via email to