Auto UpdateThis script scans through all intra-day chart files and bring them current. If one uses eSignal, the charts are refreshed from the DBC Tick and Bar Servers. One possible use for the script might be to schedule it to execute hourly by the Scheduler.
var f: TForm;
mnuSetUpComputer.click opens the SetUp | Computer form. The SendKeys tabs to the Intra-day Button and clicks it. Application.ProcessMessages is necessary to allow the form to minimize before we test for it not being minimized. The setup form is minimized while the charts update, so we test to see when it has returned to normal. When the update is done, the SetUp form is closed.