Keyboard Support

Contact and Search Homepage

Header bottom

Other versions
Version 18.0 (home page)Version 17.0 (home page)Version 16.0 (home page, current version)Version 15.0 (home page)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0Version 7.0 (home page)Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)


On this page

Tavultesoft Keyman Engine COM API

All aspects of Keyman Engine 7.0 can be controlled through the Keyman COM API. The COM API is very easy to use. A Visual Basic Scripting example of how to access the COM API is shown below. This example uninstalls a package, and is actually the uninstall script for packages in Keyman Desktop 7.0, when an uninstall shortcut is included in a package:

Example Code

dim kmcom, package
Set kmcom = CreateObject("kmcomapi.TavultesoftKeyman")
n = kmcom.Packages.IndexOf("SamplePackage")
if n > 0 then
  Set package = kmcom.Packages(n)
  if msgbox("Uninstall package "+package.Description+"?", vbOKCancel, "Keyman Desktop") = vbOK then
  end if
  msgbox "The package SamplePackage could not be found."
end if