Version 38 of CAWT

Updated 2021-01-06 18:56:18 by paul

CAWT is a utility package based on TWAPI to script Microsoft Windows® applications with Tcl. It provides high level procedures for automation via the COM interface.

Currently packages for Excel, Word, PowerPoint, Outlook, OneNote, Internet Explorer, Matlab, and Google Earth are available.

This extension was formerly known as TcomExcel and TcomOffice, but has been renamed to the more general CAWT (COM Automation With Tcl).

Sources and distribution packages are available on SourceForge since 2014/04/06.


PO 2008/09/11 - TcomExcel version 0.1 released. It includes Excel constants and enumerations as symbolic names, utility functions as well as some test programs.

PO 2009/07/19 - A new version (0.2) of TcomExcel with support for Excel 2007 is now available. Thanks to Cary Campbell for supplying enhancements and fixes.

PO 2010/10/29 - A new version (0.3) of TcomExcel with enhanced test suite and bug fixes for Excel 2007 is now available.

PO 2011/01/13 - A new version (0.3.1) of TcomExcel with support for Excel 2010 is now available.

PO 2011/04/05 - A new version (0.3.2) of TcomExcel with support to copy and paste data between Tcl and Excel is now available. It uses Twapi for managing the clipboard and is substantially faster than setting/getting individual cells.


PO 2011/07/17 - A new version (0.4.0) of TcomOffice with support to put table data from Excel into Word and vice versa.

PO 2011/08/28 - A new version (0.4.1) of TcomOffice with support to put table data from Excel into Mat-Files and 1-channel RAW image files and vice versa.


PO 2012/12/23 - CAWT version 1.0.0 released. Extended functionality and renaming from TcomOffice to Cawt.

PO 2013/04/28 - CAWT version 1.0.1 released. Extended Excel chart generation. Starkit enabled.

PO 2013/07/28 - CAWT version 1.0.2 released. Added new package CawtOcr for automation of Office Document Imaging. Update of used Twapi and Img extensions.

PO 2013/08/30 - CAWT version 1.0.3 released. Added some utility procedures in module CawtExcel.

PO 2013/11/23 - CAWT version 1.0.4 released. Added support for Office 2013 and 64-bit Office. Several new procedures in CawtWord and CawtExcel. Update of used Img and Tablelist extensions.

PO 2014/01/26 - CAWT version 1.0.5 released. Added some utility procedures in module CawtExcel.

PO 2014/04/21 - CAWT version 1.0.6 released. Improved handling of sparse matrices in package CawtExcel.

PO 2014/06/14 - CAWT version 1.0.7 released. Added several utility procedures in packages CawtExcel and CawtPpt. Updated Twapi to official 4.0.61 version.

PO 2014/08/30 - CAWT version 1.1.0 released. Added new package CawtOutlook for automation of Outlook. Rework of CawtWord package (some incompatible changes).

PO 2014/12/14 - CAWT version 1.2.0 released. Several new CawtWord procedures.


PO 2015/03/31 - CAWT version 2.0.0 released. Ensembled all CAWT namespaces. Store Office enumerations in hash tables. Several improvements and bug fixes.

PO 2015/09/01 - CAWT version 2.1.0 released. Enhanced functionality and bug fixes. Added support to generate a CAWT starpack.

PO 2015/10/31 - CAWT version 2.1.1 released. Added support for Office 2016.

PO 2015/11/10 - CAWT version 2.1.2 released. Enhanced functionality and bug fixes. Extended support for Excel page setup.

PO 2015/12/12 - CAWT version 2.2.0 released. Enhanced functionality in Core and Office modules. New module CawtOffice.

PO 2016/08/16 - CAWT version 2.3.0 released. New module CawtOneNote. Enhanced functionality in Excel module.

PO 2016/12/10 - CAWT version 2.3.1 released. Enhanced functionality in Core and Office modules.

PO 2017/06/18 - CAWT version 2.4.0 released. New module CawtReader. Updated external packages.

PO 2017/12/30 - CAWT version 2.4.1 released. Enhanced functionality in Outlook module. Updated external packages.

PO 2018/04/26 - CAWT version 2.4.2 released. Enhanced functionality in several modules.

PO 2018/12/27 - CAWT version 2.4.3 released. Support for Office 2019.

PO 2019/06/08 - CAWT version 2.4.4 released. Enhanced functionality in several modules.

PO 2019/08/13 - CAWT version 2.4.5 released. Enhanced functionality in Word module.

PO 2019/10/12 - CAWT version 2.4.6 released. Enhanced reference documentation.

PO 2019/11/03 - CAWT version 2.4.7 released. Enhanced functionality in Ppt and Word modules.

PO 2020/03/08 - CAWT version 2.4.8 released. Support for Office macro execution.

PO 2020/06/09 - CAWT version 2.4.9 released. Enhanced functionality in Excel module.

PO 2020/07/24 - CAWT version 2.5.0 released. Enhanced functionality for handling Office document properties.

PO 2021/01/06 - CAWT version 2.6.0 released. New module CawtSapi adding support for Microsoft Speech API. Updated external packages.