Greetings everyone,
I'm writing a small sub routine to stay in a loop until tts has finished speaking based on Erel's coding from this post:
Post to determine when tts finishes speaking
I coded this sub routine using the coding from the post:
The post didn't show what the declaration statement was for jo so I assumed this coding would work:
The IDE gave me a warning that it needs to be initialised. When I ran the app, the logs told me I need to initialise jo. I looked at the dropdown after typing the dot for jo but I wasn't sure which one to use since it was not included in the post. Can you let me know what the initialise statement should look like?
Thanks.
I'm writing a small sub routine to stay in a loop until tts has finished speaking based on Erel's coding from this post:
Post to determine when tts finishes speaking
I coded this sub routine using the coding from the post:
Code for the sub routine.:
Sub StayHereWhileTtsIsSpeaking
Do While jo.RunMethod("isSpeaking",Null) = True
Sleep(100)
Loop
Log("done speaking")
End Sub
The post didn't show what the declaration statement was for jo so I assumed this coding would work:
Declaration in Class_Globals:
Private jo As JavaObject
The IDE gave me a warning that it needs to be initialised. When I ran the app, the logs told me I need to initialise jo. I looked at the dropdown after typing the dot for jo but I wasn't sure which one to use since it was not included in the post. Can you let me know what the initialise statement should look like?
Thanks.