Please login or register.

Login with username, password and session length

Author Topic: Running Macros  (Read 2900 times)

jaja714

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 3
Running Macros
« on: May 03, 2010, 08:59:19 PM »

Is there a way to save a macro as a file or shortcut so it can be run directly from my PC?
Logged

Dan Lawrence

  • Hero Member
  • *****
  • Helpful Post Rating: 68
  • Posts: 3991
Re: Running Macros
« Reply #1 on: May 04, 2010, 06:05:57 PM »

NO.  Macros can be run from the PC or triggered from a MC460 Desktop Controller.  I have a single macro that turns off modules with a press of A5 OFF from the MC460.
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: Running Macros
« Reply #2 on: May 05, 2010, 03:11:52 AM »

Is there a way to save a macro as a file or shortcut so it can be run directly from my PC?

Actually, in a round about way, you can!   ???   -:)

Once you have created the macro in AHP (let's say it triggers from "B1 On")...

Create a new Windows Shortcut.

If you're running a 32 bit version of Windows:
  • Set the "Target" to: "C:\Program Files\Common Files\X10\Common\ahcmd.exe" sendplc b1 on
  • Set the "Start in" folder to: "C:\Program Files\Common Files\X10\Common"

If you're running a 64 bit version of Windows:
  • Set the "Target" to: "C:\Program Files (x86)\Common Files\X10\Common\ahcmd.exe" sendplc b1 on
  • Set the "Start in" folder to: "C:\Program Files (x86)\Common Files\X10\Common"

Double click the Shortcut, and viola!

 >!
« Last Edit: May 05, 2010, 03:14:27 AM by -Bill- (of wgjohns.com) »
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.