[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] OLE - resize report window



PureBytes Links

Trading Reference Links

Hello Dingo,

 

thanks a lot for your help. I will try it out.

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of dingo
Sent: Thursday, May 03, 2007 8:53 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] OLE - resize report window

 

Thomas,

You've got a cupla options:

1. Compile the AutoIt script to an exe and then run it at the end of the OLE
script.

2. AutoIt has an ActiveX component itself. It’s a subset of all that AutoIT
can do but I think it handles what you want (check the help). In that case
you can use it inside your OLE script.

If you need some help on this I'll be glad to assist.

d

> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Thomas Z.
> Sent: Thursday, May 03, 2007 12:36 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] OLE - resize report window
>
> Dingo,
>
> do you have any idea how i could automatically start the
> AutoIt script after
> the OLE script ?
>
>
> Thomas
> www.patternexplorer.com
>
>
> From: amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of Thomas Z.
> Sent: Thursday, May 03, 2007 5:35 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] OLE - resize report window
>
> Hi Dingo,
>  
> thanks, i will do it with AutoIt.
>  
>  
> Thomas
> www.patternexplorer.com
>  
> From: amibroker@xxxxxxxxxxxxxxx
> [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of dingo
> Sent: Thursday, May 03, 2007 4:58 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] OLE - resize report window
>  
> That's not avail in the OLE object model.
>
> You can use AutoIt to do those kinds of things.
>
> d
>
> > -----Original Message-----
> > From: amibroker@xxxxxxxxxxxxxxx
> > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Thomas
> > Sent: Thursday, May 03, 2007 3:15 AM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] OLE - resize report window
> >
> > Hello,
> >
> > does anyone know how to open and resize and/or scroll the report
> > window after backtest ?
> >
> > My script already opens the report after backtest, but i wasn't able
> > to change it's size to see my custom stats at the bottom of the
> > report. Here is my script.
> >
> > Regards
> > Thomas
> >
> > /* create AB object */
> > AB = new ActiveXObject("Broker.Application");
> >
> > /* retrieve automatic analysis object */
> > AA = AB.Analysis;
> >
> > /* run backtest and display report */
> > AA.Backtest(0);
> >
> > AA.Report(""); // empty file name means display report
> > //WScript.Sleep(2000);
> > AA.MoveWindow(0, 0, 800, 980);
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___