Dear Seniors,
A help is needed to correct the codes which should export the file to GIF in a folder.
outputdrive = "C:\\";
saveimage = outputdrive;
var oAB = WScript.CreateObject("Broker.Application");
Ticker = oAB.ActiveDocument.Name;
AB = new ActiveXObject("Broker.Application");
Win = AB.ActiveWindow;
output=saveimage + Ticker + ".gif";
Win.ExportImage( output, 800, 600 );
This is giving errors.
Found Some advice from a member http://www.traderji.com/amibroker/45185-amibroker-screen-autoexport-c-drive-correct-code-please.html
Please advice how to operate.
A help is needed to correct the codes which should export the file to GIF in a folder.
outputdrive = "C:\\";
saveimage = outputdrive;
var oAB = WScript.CreateObject("Broker.Application");
Ticker = oAB.ActiveDocument.Name;
AB = new ActiveXObject("Broker.Application");
Win = AB.ActiveWindow;
output=saveimage + Ticker + ".gif";
Win.ExportImage( output, 800, 600 );
This is giving errors.
Found Some advice from a member http://www.traderji.com/amibroker/45185-amibroker-screen-autoexport-c-drive-correct-code-please.html
Please advice how to operate.
Last edited: