Hello Murthy, Thanks for your response.
So looks like there is no direct mechanism to achieve that end. Your work around also seems interesting. I am thinking of processing the AFL code on the fly and then pass it to the Analysis object. Thanks again! --- In [email protected], "murthysuresh" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "murthysuresh" money@ wrote: > > > > oh. i just have a work around. i launch another afl that would thro > the > > commentary window and use my ole launced afl to use the parameters. > not > > the most efficient, but works well. > > > > basically, the the pseudocode would be like this > > > > > > setStaticVariables using the commentary object > > run my afl using ole > > clearStaticVariables using the commentary object > > > application.Commentary.LoadFormula(some afl to load params) > application.Commentary.Apply() > application.Commentary.close > analysis=application.analysis() > analysis.loadFormula(some formula to scan) > analysis.scan > application.Commentary.LoadFormula(some afl to clear params) > application.Commentary.Apply() > application.Commentary.close >
