Please login or register.

Login with username, password and session length

Author Topic: Problems with ahcmd.exe  (Read 9003 times)

stevenb

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Problems with ahcmd.exe
« on: November 10, 2009, 02:31:30 AM »

I can't seem to get my activehome command line to function. Everytime i try to run it, it gives me a 'ActiveScript Error'. I have a hunch it's got something to do with the fact that when I try to run ahscript_setup.exe, the setup does nothing. Any thoughts?
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Problems with ahcmd.exe
« Reply #1 on: November 10, 2009, 08:29:12 PM »

AFAIK, ahcmd.exe is used with a DOS or Command Prompt to send commands.  Example:  achmd send PLC A1 ON to turn lamp module A1 on.

I don't know what ahscript_setup. is, I don't have it on my XP system
Logged
I don't SELL this stuff... BUT I sure do ENJOY using it!!!

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: Problems with ahcmd.exe
« Reply #2 on: November 12, 2009, 02:29:29 AM »

ahscript_setup.exe is a file provided in the AHP SDK that installs the basic ActiveX / COM scripting object and maybe the basic CM15A drivers (not so sure about that).

If you have installed the AHP SDK or even AHP itself already, ahscript_setup.exe won't do much for you.

ahcmd.exe is the command line interface for programs that can't handle ActiveX / COM to use to send X10 commands to the CM15A.  It is normally found in the "Program Files\Common Files\X10\Common" folder (or on 64 bit Windows, the "Program Files (x86)\Common Files\X10\Common" folder).

An example of the use of ahcmd.exe is: "ahcmd.exe sendplc a1 on" making sure the active or "Start in" folder is the one containing ahcmd.exe

I just tested this on my Windows Vista 64 bit system with AHP installed, but the AHP SDK not installed.
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!

stevenb

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 4
Re: Problems with ahcmd.exe
« Reply #3 on: November 12, 2009, 04:16:40 PM »

Oh, wow.. ok I get it now! I had a "duh" moment.. i was just trying to run the ahcmd.exe from the command window, but I forgot to follow it with an actual command!

Thanks for the help, guys!
Logged

-Bill- (of wgjohns.com)

  • Advanced Member
  • Hero Member
  • ******
  • Helpful Post Rating: 81
  • Posts: 1340
  • He's just this guy. You know?
    • wgjohns.com
Re: Problems with ahcmd.exe
« Reply #4 on: November 17, 2009, 12:13:41 AM »

Oh, wow.. ok I get it now! I had a "duh" moment.. i was just trying to run the ahcmd.exe from the command window, but I forgot to follow it with an actual command!

Thanks for the help, guys!

Glad to help!

 >!
Logged
-Bill- (of wgjohns.com)
bill@wgjohns.com

In the real world, the only constant is change.

When I'm online you can find me in the Home Automation Chat Room!
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.