This is part of the script that I created in tentscripting
It run in ten scripting without any errors. But when I compile in in HS I get this error
I have no idea how to trouble shoot this nor do I know what the error message means.
I'm running HS on debian with mono. Is this the issue?
Code:
Sub Main(parm As Object) Dim CamUser As String = "user" Dim CamPassword As String = "password" Dim CamIP As String = "IP" Dim CamPath As String = "/Streaming/Channels/1/picture/" Dim Snapshot1 As String = "html/images/camera/1.jpg" hs.GetURLImage("http://" & CamUser & ":" & CamPassword & "@" & CamIP, CamPath, False, 80, Snapshot1) End Sub
Code:
Compiling script /etc/HomeSeer/scripts/test.cs: {interactive}(11,17): error CS1525: Unexpected symbol `Object', expecting `)', `,', `[', `]', or `=' {interactive}(13,8): error CS1525: Unexpected symbol `Dim', expecting `)', `,', `[', `]', or `=' {interactive}(30,37): error CS1519: Unexpected symbol `end-of-file' in class, struct, or interface member declaration {interactive}(30,37): error CS8025: Parsing error {interactive}(2,1): warning CS0105: The using directive for `System' appeared previously in this namespace {interactive}(3,1): warning CS0105: The using directive for `System.Linq' appeared previously in this namespace {interactive}(4,1): warning CS0105: The using directive for `Scheduler' appeared previously in this namespace {interactive}(5,1): warning CS0105: The using directive for `HomeSeerAPI' appeared previously in this namespace
I'm running HS on debian with mono. Is this the issue?
Comment