Announcement

Collapse
No announcement yet.

Error in hs.writelog

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

    Error in hs.writelog

    Hi

    I have been slowly trying to transition from HS3 to HS4 but some of the scripts that work fine in HS3 do not work in HS4. I am not a programmer so I had to cobble together the scripts for HS3 years ago and frankly have no idea how to get them to work in HS4

    Any help would be appreciated.. I have attached a copy of the script as well as the error in the log datenew.txt error.txt

    #2
    Its a bug in HS4 when using hs.Writelog with .txt scripts.

    Changing:

    Code:
    hs.WriteLog "here I Am ", x
    To:

    Code:
    hs.WriteLogEx "here I Am ", x, ""
    And Changing:

    Code:
    hs.WriteLog "here I Am ", inputvariables(3)
    To:

    Code:
    hs.WriteLogEx "here I Am ", inputvariables(3),""
    Should resolve the issue.
    Jon

    Comment


      #3
      Thank you very much that worked perfectly.

      Really appreciate the help

      Comment

      Working...
      X