Mosquitos Posted May 25, 2005 Share Posted May 25, 2005 (edited) I found this on the microsoft website but it is vbs.Is this possible to translate it in autoit?This is a example...expandcollapse popupstrAgentName = "Merlin" strAgentPath = "c:\windows\msagent\chars\" & strAgentName & ".acs" Set objAgent = CreateObject("Agent.Control.2") objAgent.Connected = TRUE objAgent.Characters.Load strAgentName, strAgentPath Set objCharacter = objAgent.Characters.Character(strAgentName) objCharacter.Show objCharacter.Play "Announce" objCharacter.Speak "Verdomme,ik moet gaan werken!!!" objCharacter.Play "Process" objCharacter.Speak "Zo mijn bammekes zijn klaar." objCharacter.Play "LookDown" objCharacter.Think "Ik zal eens naar de stieven vliegen..." objCharacter.MoveTo 500,500,4000 objCharacter.Play "Think" objCharacter.Speak "Euh,de stieven is nog niet wakker precies." objCharacter.Play "GetAttention" objCharacter.Play "GetAttentionContinued" objCharacter.Speak "STIEVEN, WAKKER WORDEN!!!" objCharacter.Play "Confused" objCharacter.Speak "Godverdomme,het is nog maar 2u!!!" objCharacter.Play "Alert" objCharacter.Play "Sad" objCharacter.Speak "Dan maar terug in mijn bedje kruipen." objCharacter.Play "Idle3_1" objCharacter.Play "Idle1_1" objCharacter.MoveTo 0,0,4000 objCharacter.Speak "Slaapwel" objCharacter.Think "Lekker over MIEKE dromen se" objCharacter.Hide Do While objCharacter.Visible = TRUE Wscript.Sleep 100 Loopand this is the site:http://www.microsoft.com/technet/scriptcen...zone/agent.mspx Edited May 25, 2005 by Mosquitos Sapiente vince, rex, noli vincere ferro! Link to comment Share on other sites More sharing options...
GaryFrost Posted May 25, 2005 Share Posted May 25, 2005 see the below posthttp://www.autoitscript.com/forum/index.php?showtopic=11427 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Josbe Posted May 25, 2005 Share Posted May 25, 2005 Of course, look this example: MS Agent - Sample script (sykes) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now