Hi Dingo,

 

thanks, i will do it with AutoIt.

 

 

Thomas

 <http://www.patternexplorer.com/> www.patternexplorer.com

 

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of dingo
Sent: Thursday, May 03, 2007 4:58 PM
To: [email protected]
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: [email protected] <mailto:amibroker%40yahoogroups.com>  
> [mailto:[email protected] <mailto:amibroker%40yahoogroups.com> ]
On Behalf Of Thomas
> Sent: Thursday, May 03, 2007 3:15 AM
> To: [email protected] <mailto:amibroker%40yahoogroups.com> 
> 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
> 
> 
> 
> 

 

Reply via email to