Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by storm69

  1. storm69

    Object doesn't support this property or method:

    Well, the "()" did the trick. Being very green at this please explain why the "()" had to be used. Here is the line of code that worked Devices.X10Devices.Item("Paul heat").command(dcoff) Sheco, What is it exactly you would like to know about the HA (home automation), the hardware or the...
  2. storm69

    Object doesn't support this property or method:

    Here is a C&P of the docs provided with the program, maybe this will help some. The X10Devices collection also includes two additional commands. X10Devices.Select(“Foo”) X10Devices.Command(dcDevice Command) This allows a selection of a device followed by multiple commands to that device...
  3. storm69

    Object doesn't support this property or method:

    I know this is most likely a stupid question but could it be that I am trying to use a "devices.x10devices"..." in the variable "sub" block? I wouldn't think it would matter but then again I am very green at VBS
  4. storm69

    Object doesn't support this property or method:

    I tried using both X10devices.Item("paul heat").Command=dcoff and Devices.X10devices.Item("paul heat").Command=dcoff and still got the same error message: Either Script Error: Line 369 Object doesn't support this property or method: 'X10Devices.Item(...).Command' or Script Error: Line 369...
  5. storm69

    Object doesn't support this property or method:

    It is when it works...LOL It just needs someone with a lot more knowledge than I to make it do all the cool stuff it can do. It has been a royal pain in my butt but at least forcing me to learn new things.
  6. storm69

    Object doesn't support this property or method:

    They are both "devices" however the relays are a device on board the controller and a x10 device is external to the controller. An example of a x10 device is a "lamp module" where you plug the module into the wall and the lamp into the module. The controller sends commands to the module using...
  7. storm69

    Object doesn't support this property or method:

    That is correct. After reading more of the docs on the program the "ds" is Device State" and the "dc" is Devise Command. However, I had already changed that and got the following error message; If .Item("Paul").Value > 69 Then Devices.X10.Item("Paul heat").Command=dcoff <--...
  8. storm69

    Object doesn't support this property or method:

    The "BR1Blinds" or "Paul heat" are nothing more than a name given to a X10 Device. An example is that there are 256 available X10 devices with address from A-1 to A16 through P1-P16. Address A1 (X10 Device) is given the name "Paul heat" so regardless of the "name" the command function should work
  9. storm69

    Object doesn't support this property or method:

    I was assuming that "Command" was valid as the program author used it in an example: Devices.Relays(“BR1Blinds”).Command=dcON
  10. storm69

    Object doesn't support this property or method:

    I am using a program that uses VB Scripts to run a Home Automation Controller. I am new to VB Scripts but trying real hard and fast to learn. I am getting this error "Object doesn't support this property or method:'Devices'. The Devices are defined in "Sub" blocks and I am trying to use a...
  11. storm69

    Script Error: Expected ')'

    Well, stupid me....that did the trick. You don't know how many times I've looked at that script trying to figure out what was wrong and missed it. Thanks for the second set of eyes. As for the home automation program. It's the master and we humans are the slaves. It just tells us what to do...
  12. storm69

    Script Error: Expected ')'

    I added the following line to the script and it did announce "5 AM is on" but did not announce the next "If" statement. So what am I missing here? Rem ************************************************************** Rem Flag Device Event Rem...
  13. storm69

    Script Error: Expected ')'

    Yes, I did read that one. Like I said, I'm very green but trying to learn, sorry. I did run the script using: If .Item(Index).Name = "5 AM" Then and there were no errors but it didn't execute the character.speak when the "5 AM" flag was set true. Thats why I asked about the Case dson.
  14. storm69

    Script Error: Expected ')'

    I don't have any documentaion about the devices. I can tell you that the "devices" are coming from the home automation controller. These devices are both hardware, i.e. thermostats, temp sensors, motion detectors, etc and software, i.e. flags, time, etc. I added the prefix .Item(Index). to...
  15. storm69

    Script Error: Expected ')'

    I tried that and got the following error; Script Error: Line 350 Object doesn't support this property or method: 'Name' Also, don't you have to know that the flag "5 AM" is true "Case dson

Part and Inventory Search

Back
Top