Announcement

Collapse
No announcement yet.

[VBScript] Max Uptime

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

  • steve-l
    replied
    OK, seems like that error is only generated the first time it is run - 2nd and subsequent runs are working OK!

    Leave a comment:


  • steve-l
    replied
    Nice script - I've got it half working... the Homeseer Uptime works, but the System uptime never updates and I get this error:

    Running script, script run or compile error in file: Max_Uptime.txt9:Subscript out of range: '[number: 0]' in line 47 More info: Subscript out of range: '[number: 0]'

    This is the version of the text file I have just downloaded:

    '* Version: 1.1 *
    '* Date: 17 Dec 2006

    Leave a comment:


  • Guest's Avatar
    Guest replied
    No, only 2. I originally asked you to add a line of script to set the device string to 1 but found that led to another error. The error looks like it is trying to read your device string and having a problem. What is the device string right now?

    Leave a comment:


  • TrOjAn
    replied
    Originally posted by MeSteve
    That was making it a 1 right? try the one I uploaded.
    Errr confused now, I posted the first error, you replied with another version, I tried that and got the 2nd error...

    Have you uploaded a 3rd? Ill grab it anyway in case you have.

    Thanks, TrOjAn

    Leave a comment:


  • Guest's Avatar
    Guest replied
    That was making it a 1 right? try the one I uploaded.

    Leave a comment:


  • TrOjAn
    replied
    moved the error down a bit

    18/12/2006 14:55:42 - Error - Running script, script run or compile error in file: Max_Uptime.txt13:Type mismatch: 'cint' in line 50 More info: Type mismatch: 'cint'

    TrOjAn

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Try the version up there now.
    Last edited by MeSteve; December 18th, 2006, 09:23 AM.

    Leave a comment:


  • TrOjAn
    replied
    MeSteve,

    Thanks for the script, I do however get this >> 18/12/2006 10:44:48 - Error - Running script, script run or compile error in file: Max_Uptime.txt13:Type mismatch: 'cint' in line 47 More info: Type mismatch: 'cint'

    In the log file,

    Any ideas?? cheers, TrOjAn

    Leave a comment:


  • darren-mc
    replied
    Thanks for the script...have downloaded it and I will test.

    Leave a comment:


  • Guest's Avatar
    Guest started a topic [VBScript] Max Uptime

    [VBScript] Max Uptime

    This is the discussion for a script to log the longest time HS has been running

    The script can be found here
Working...
X