OLE: Changed Window.LoadTemplate to return FALSE when file can not be found
OLE: Window.LoadTemplate now refreshes display so it is not necessary to use SelectedTab = 0
OLE: Window object, new method ZoomToRange( From, To ) 
ZoomToRange( From, To )
From and To parameters are of any type that can be converted to date(you can use string or OLE date for example).
Example code (JScript):
AB=new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
if( AW.ZoomToRange( "2005-04-01", "2005-08-01" ) )
{ 
   WScript.Echo("Zoom successfull" );
}
OLE: Application object new methods
BOOL LoadLayout( filename )
BOOL SaveLayout( filename )
AB = new ActiveXObject("Broker.Application");
AB.LoadLayout("C:\\Program Files\\AmiBroker\\Data\\Layouts\\Default.awl");
OLE: Window object new property: SelectedTab 
AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
tabindex = AW.SelectedTab; // read selected tab
AW.SelectedTab = 3; //switch to tab 3
AW.SelectedTab = tabindex; // restore originally selected tab
	Fixed: Exception was generated when GetRTDataForeign was called with non-existing ticker
OLE: Window object new methods: LoadTemplate, SaveTemplate
AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
AW.SaveTemplate("Test.abt");
AW.LoadTemplate("Test.abt");
OLE: Save As PNG / GIF callable from automation 
Example script:
AB = new ActiveXObject("Broker.Application");
AB.ActiveWindow.ExportImage("Test.png");
OLE: Analysis object has new method MoveWindow( x, y, width, height) that allows to control position and size of automatic analysis window
AB = new ActiveXObject("Broker.Application");
AB.Analysis.MoveWindow( 10, 10, 200, 200 );
It has some restrictions on size: specified size can not besmaller than 10x10 pixels and can not be bigger than entire screen dimensions.
Also when "No minimum size for resizing dialogs" box in UNCHECKED in Tools->Prefs->Misc it won't shink AA window below default size necessary to fully display all controls.
OLE: added ability to control sorting in AA window from OLE level
Object:
Analysis 
New method:
SortByColumn( iColumn, bAscending, bMultiMode )
where iColumn - is zero-based column index to sort bybAscending - true/false decides the order we wantbMulti - if set to false - it means that we want to sort by single column or we define starting column for multi-column sortif set to true - it means that we are defining additional columns for multiple-column sort.So to sort by many columns you need to call SortByColumn once with bMulti set to false and then call SortByColumn for all remaining sort columns with bMulti set to true.
Example (multiple column sort by column 1 and 2):
AB = new ActiveXObject("Broker.Application");
AA = AB.Analysis; 
// sort by date/time column 
AA.SortByColumn( 1, False, False ); 
// add secondary sort column (see last argument = True) 
AA.SortByColumn( 2, False, True ); 
OLE: added Application.Visible property 
AB = new ActiveXObject("Broker.Application"); 
AB.Visible = True; 
WScript.Sleep(1000); 
AB.Visible = False; 
WScript.Sleep(1000); 
AB.Visible = True; 
WScript.Sleep(1000); 
AB.Quit();
OLE: when AmiBroker is created from OLE, it loads default layout now (previous versions did not

========================================
OLE: Window object new methods: LoadTemplate, SaveTemplate

AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
AW.SaveTemplate("Test.abt");
AW.LoadTemplate("Test.abt");

OLE: Application object new methods
BOOL LoadLayout( filename )
BOOL SaveLayout( filename )

AB = new ActiveXObject("Broker.Application");
AB.LoadLayout("C:\\Program Files\\AmiBroker\\Data\\Layouts\\Default.awl");

OLE: Window object new property: SelectedTab 

AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
tabindex = AW.SelectedTab; // read selected tab
AW.SelectedTab = 3; //switch to tab 3
AW.SelectedTab = tabindex; // restore originally selected tab

Fixed: Exception was generated when GetRTDataForeign was called with non-existing ticker

OLE: Window object new methods: LoadTemplate, SaveTemplate

AB = new ActiveXObject("Broker.Application");
AW = AB.ActiveWindow;
AW.SaveTemplate("Test.abt");
AW.LoadTemplate("Test.abt");

OLE: Analysis object has new method MoveWindow( x, y, width, height) that allows to control position and size of automatic analysis window

AB = new ActiveXObject("Broker.Application");
AB.Analysis.MoveWindow( 10, 10, 200, 200 );

It has some restrictions on size: specified size can not besmaller than 10x10 pixels and can not be bigger than entire screen dimensions.
Also when "No minimum size for resizing dialogs" box in UNCHECKED in Tools->Prefs->Misc it won't shink AA window below default size necessary to fully display all controls.