May we assume you have downloaded the ActivehomePro SDK?
This software interface allows you to use commands to interact with AHP and your CM15A via scripts.
I find this method of control works well sending all sorts of commands to my home automation PC from other PC's on my network.
Here is a typical command to make this work:
Set objProcess = GetObject("winmgmts:{impersonationLevel=impersonate}!\YourPCNameHere\root\cimv2:Win32_Process")
result = objProcess.Create ("C:\Program Files\Common Files\X10\Common\ahcmd.exe sendplc d11 on", null, null, intProcessID)
This is a visual basic scripting file which I saved as D11On.vbs. A simple shortcut on the desktop of a networked PC, when double-clicked, turns the D11 module on.
There are more examples in the SDK documentation for other programming languages.