Blade,
I running vb code that I copy from BLsecurity Help file.
I copy line by Line.
Could you tell me why I getting a error running this script.
____________________________________________________________ ___________________
Sub Main(parm as object)
Dim myTags As Object = hs.PluginFunction("BLSpeech", "", "GetCurrentSpeechTags", Nothing)
hs.writelog("Info", "Tag priority: " & myTags.Priority)
hs.writelog("Info", "Tag speaker: " & myTags.Speaker)
hs.writelog("Info", "Tag sound: " & myTags.Sound)
hs.writelog("Info", "Tag volume: " & myTags.VolumeLevel)
hs.writelog("Info", "Tag queue setting: " & myTags.QueueSetting)
hs.writelog("Info", "Tag voice: " & myTags.Voice)
hs.writelog("Info", "Tag BLBroadcast client: " & myTags.BLBroadcastClient)
hs.writelog("Info", "Tag Is Speaker: " & myTags.IsSpeaker.ToString)
hs.writelog("Info", "Tag Is Zone: " & myTags.IsZone.ToString)
myTags = Nothing
For Each spkr As Object In hs.PluginFunction("BLSpeech", "", "Speakers", Nothing)
hs.writelog("Info", "Speaker key: " & spkr.Key & " is a speaker!")
Next
End Sub
____________________________________________________________ ________________________
Error>>:
Running script Casatune_SetZones3.vb :
Exception has been thrown by the target of an invocation.->
Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Obj ect obj, Object[] parameters,
Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture) at A.c17b105f989efe61e5979e67bec1ef734.cffd66cb0782c50126727e3f a75582d7a()
Thank you
Greg Mack
I running vb code that I copy from BLsecurity Help file.
I copy line by Line.
Could you tell me why I getting a error running this script.
____________________________________________________________ ___________________
Sub Main(parm as object)
Dim myTags As Object = hs.PluginFunction("BLSpeech", "", "GetCurrentSpeechTags", Nothing)
hs.writelog("Info", "Tag priority: " & myTags.Priority)
hs.writelog("Info", "Tag speaker: " & myTags.Speaker)
hs.writelog("Info", "Tag sound: " & myTags.Sound)
hs.writelog("Info", "Tag volume: " & myTags.VolumeLevel)
hs.writelog("Info", "Tag queue setting: " & myTags.QueueSetting)
hs.writelog("Info", "Tag voice: " & myTags.Voice)
hs.writelog("Info", "Tag BLBroadcast client: " & myTags.BLBroadcastClient)
hs.writelog("Info", "Tag Is Speaker: " & myTags.IsSpeaker.ToString)
hs.writelog("Info", "Tag Is Zone: " & myTags.IsZone.ToString)
myTags = Nothing
For Each spkr As Object In hs.PluginFunction("BLSpeech", "", "Speakers", Nothing)
hs.writelog("Info", "Speaker key: " & spkr.Key & " is a speaker!")
Next
End Sub
____________________________________________________________ ________________________
Error>>:
Running script Casatune_SetZones3.vb :
Exception has been thrown by the target of an invocation.->
Does entry point Main exist in script? at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Obj ect obj, Object[] parameters,
Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,
Object[] parameters, CultureInfo culture) at A.c17b105f989efe61e5979e67bec1ef734.cffd66cb0782c50126727e3f a75582d7a()
Thank you
Greg Mack
Comment