Dan,
Thanks a lot. On my home computer it worked after I un-installed MS Speech Recognition that I installed for some unknown reason.
Now, I have two questions:
1) Where can I find more free chars besides 4 standard? (I showed it yesterday to my son and he wanted more chars).
2) How can I make the char to interact with the user, in other words, ask a question and receive an answer?
Thanks in advance.
>Naomi -
>
>Here's a stand along prg that works for me. You will need Peedy and Genie installed.
>
>
>public oAgent,oPeedy,oGenie
>
>oAgent = createobject("agent.control.2")
>oAgent.connected = .t.
>
>oAgent.Characters.Load("Peedy","Peedy.acs")
>oAgent.Characters.Load("Genie","Genie.acs")
>
>opeedy = oAgent.Characters('Peedy')
>ogenie = oAgent.Characters('Genie')
>opeedy.show
>lWait = opeedy.moveto(200,400)
>
>oGenie.wait(lWait)
>oGenie.moveto(400,400)
>lWAit = oGenie.show
>
>
>oPeedy.wait(lWait)
>oPeedy.speak("Hello")
>oPeedy.play("gestureleft")
>oPeedy.speak("Allow me to introduce my good friend, Genie.")
>
>oPeedy.play("lookleft")
>lWait = oPeedy.speak("Hello Genie")
>
>oGenie.wait(lWait)
>oGenie.play("lookright")
>lWait = ogenie.speak("And hello to you too Peedy")
>
>oPeedy.wait(lWait)
>
>
>
>***************************************************************
>>>>Ok, I think I made a complete mess of my PC. I downloaded several files from the link you send me. Now
>>>>SET Classlib TO (HOME()+"ffc\_agent.vcx") addi
>>>>PUBLIC msagent
>>>>
>>>>msagent=CREATEOBJECT("_agent")
>>>>msagent.load("merlin","merlin.acs")
>>>>msagent.setActiveAgent("merlin")
>>>>msagent.show(680,400)
>>>>
>>>>msagent.activeagent.LanguageID="&H0409"
>>>>
>>>>*msagent.play("greet")
>>>>msagent.speak("Hello Naomi")
>>>>
>>>>the agent appears, but it doesn't speak and instead of Hello Naomi shows just Hello. Nick's FoxSpeaker also stopped working...
>>>
>>>
>>>I never installed Foxspeaker. You don't need Foxspeaker. I can make spoken agents with only these lines upper.
>>>
>>>Try this link. The agent in this link speaks too.
>>>
http://fox.wikis.com/wc.dll?Wiki~MicrosoftAgent~WIN_COM_API>>
>>It doesn't, since it's not installed on my work PC.
If it's not broken, fix it until it is.
My Blog