Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

'Unterminated string constant'

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

  • 'Unterminated string constant'

    Hello!
    Finally got around to installing WAFNetCallerID, edited the Startup and Shutdown scripts and receive this error in the log:

    8/15/2006 6:43:22 PM ~!~Error~!~Running script, script run or compile error in file: startup.txt1033:Unterminated string constant in line 18 More info: Unterminated string constant

    My NetCallerID box is connected to com 6. All of this was working with HS1.7.x.
    I am now on HS 2.1.104.

    Here is my Startup.txt script:

    ' this is the startup script
    ' it is run once when HomeSeer starts up
    '
    ' this is a good place to default status on some devices
    '
    sub main()
    hs.WriteLog "Startup","Scripting is OK"
    ' if speaker client is not running, start it
    if not hs.IsApplicationRunning("Speaker") then
    hs.Launch("Speaker.exe")
    end if
    ' speak
    hs.speak "Welcome to the HomeSeer" ,TRUE
    ' add calls startup scripts and function calls here
    i_ret = hs.RunEx("WAF-NETCallerID.vbh","open_ncid",")

    end sub
    I know, it's probably some simple bone head mistake but can you help me?

    Thank you!

    -Kevin

  • #2
    KLS,
    This line is in error:
    i_ret = hs.RunEx("WAF-NETCallerID.vbh","open_ncid",")
    It's missing the third argument.
    It needs to be:

    i_ret = hs.RunEx("WAF-NetCallerID.vbh","open_ncid","")
    -Rupp
    sigpic

    Comment


    • #3
      Originally posted by Rupp
      KLS,
      This line is in error:
      i_ret = hs.RunEx("WAF-NETCallerID.vbh","open_ncid",")
      It's missing the third argument.
      Hey Don't argue with me Rupp ....BTW, WHICH arguement?

      I entered this line exactly as the installation dialog stated (I think...). Anyhow, I am not yet a VB pro so can you shed some light on this?

      Thank you.
      -Kevin

      On-Edit: As usual - Rupp is the man!
      I seem to have dropped a " in the script line.
      Last edited by KLS; August 15th, 2006, 08:57 PM. Reason: Speeeling....

      Comment

      Working...
      X