X10 Community Forum
🖥️ActiveHome Pro => ActiveHome Pro General => Topic started by: jeth on December 19, 2010, 06:02:52 PM
-
In several places I have seen a reference to x10comm.exe, which allows access to s subset of X10 operations from a command line. It was reported to be part of ActiveHome Pro and found in the directory where AHP is installed.
However, I can't find it anywhere, and have even upgraded my AHP to the latest available, and it still isn't showing up.
Has it been abandoned because of incompatibilities with Windows Vista or Windows 7 or what?
Thanks.......
-
I found x10comm.exe in the old Active Home program folder. For the CM11A Serial Interface.
If it was also part of AHP I also could not find it but I also have one of the latest revisions of AHP.
-
Thanks for response, Brian,
Upon further research, I found something to do the same sort of thing in the SDK. (ahcmd)
I'm still experimenting; I have been able to send commands from the command line using what I found in some sample scripts. But a command line approach won't work for retrieving status of devices as shown in some example scripts like VB.
I actually would prefer REXX for my scripting language, and it will probably work fine for transmission also, but not reception.
Joe
-
ahcmd.exe comes with every version of AHP and allows for DOS or Command Line sending of X10 commands. You can even copy it to an other folder and use it, it does not require AHP to be open to use it.
-
Thanks for response, Dan,
As I mentioned in my subsequent post, I did find that mentioned in the SDK, but also saw that it may exist in AHP as well. It looks like my copy is in "Program Files\Common Files\X10" within a backup folder from long ago.
I'm still not sure how to retrieve the response from a "queryplc" operation when it is invoked from the command line. It looks like that is only applicable when called from scripts. But the queryplc option "is" listed from a command prompt in response to a: "ahcmd /?"