hjælp.. skjønner ikke dette script greiene.. Får denne feilmeldingen når jeg kjører scriptet og jeg får bare opplest filbanen.
Script:
Sub Main(Byval input as Object)
Dim speakThis as String = hs.ReplaceVariables(input.ToString)
Dim remoteFile as String = "https://code.responsivevoice.org/getvoice.php?t=" & speakThis & "&tl=no&sv=g2&vn=&pitch=0.5&rate=0.5&vol=1"
Dim localFile as String = hs.GetAppPath & "\tts.mp3"
My.Computer.Network.DownloadFile(remoteFile, localFile, "", "", False, 3000, True)
End Sub
feilmedling:
Running script, script run or compile error in file: C:/Program Files (x86)/HomeSeer HS3/scripts/voice.txt1006:Forventet ')' in line 1 More info: Forventet ')'