It is possible if you are willing to work and maybe write some code.
It used to be, that with the old AH (not pro) one could open a dos window and usher on/off commands via dos commands. I do not know if this is still possible with AHP.
Then by using a windows macro program you could tie a key combo to a batch file that pops off the desired dos command to do your bidding.
Then, by writing some visual basic program to look for a window title you could then call that same batch file, thereby having the desired action happen when that program was launched.
BTW if I recall correctly, we could make calls to the x10nets.exe or something.
Google x10 dos commends and that should get you started. You will need a CM15 or CM11a and AHP or AH to do anything anyway.
:Ron