Announcement

Collapse
No announcement yet.

.txt help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .txt help

    I am not a programmer and don't know how to do the following script. I am running HSTV and I am using Smarthome 1623 (Not the PC version, X10 code = IR, ie A1 = TV on IR). As a result, I am not capable to use a IR function in the HSTV. But the work around is I can run a .txt file when the programming comming up as reminder or record... I wonder can anyone teach or help me to write a simple .txt file to run? For example all I need is let's say turn on A1 in this .txt file as a command to call/run when the programming coming up... I really appreciate your help in advance.

    Thanks a million,
    hlkc@yahoo.com

    #2
    <pre class="ip-ubbcode-code-pre">
    sub main()
    hs.ExecX10 "A1", "on", 0, 0
    end sub
    </pre>

    Put this in a file called test.txt and call it as desired.
    -Rupp
    sigpic

    Comment


      #3
      Rupp,

      Just test and it works perfect.

      Thanks a million,
      hlkc

      Comment

      Working...
      X