//var intradatabase="E:\\Ami-Data\\Interactive\\";
AmiBroker = new ActiveXObject( "Broker.Application" );
// open database
//AmiBroker.LoadDatabase (intradatabase);
WScript.echo(" import? " );
if( ! AmiBroker.Import( 0, "C:\\temp\\globalintra.txt","tellas.format" ));
AmiBroker.RefreshAll();
// AmiBroker.Visible(1);
P.S you have to make or declare your own "tellas.format " file
an easy way is import Wizard
Panos
>At 08:24 PM 04-10-2008 04-10-2008, you wrote:
>
> >Hello,
> >
> >I am looking for a JScript sample, to import quotes from a text file.
> >
> >Thank you,
> >
> >Pierre