![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | ms agent PS can't load other characters other than merlin several .acs are installed in c:\windows\msagent\chars which also has merlin.acs the last function call always return "Merlin" what should be done beside putting .acs in the default location mentioned above $agent = new -com agent.control.2 $agent.connected=1 $agent.characters.load("peedy") $peedy=$agent.characters.character("peedy") $peedy.name |
My System Specs![]() |
| | #2 (permalink) |
| | Re: ms agent What OS specifically? I had problems with the ms agent voice on XP SP2, for example... Marco Ryan wrote: Quote: > PS can't load other characters other than merlin > > several .acs are installed in c:\windows\msagent\chars > > which also has merlin.acs > > the last function call always return "Merlin" > > what should be done beside putting .acs in the default location > mentioned above > > $agent = new -com agent.control.2 > $agent.connected=1 > $agent.characters.load("peedy") > $peedy=$agent.characters.character("peedy") > $peedy.name |
My System Specs![]() |
| | #3 (permalink) |
| | RE: ms agent Last time I looked at using other characters it was something like this $file = join-path $env:windir "msagent\chars\Peedy.acs" $agent = new -com agent.control.2 $agent.connected=$true $agent.characters.load("Peedy", $file) $character = $agent.Characters.Item("Peedy") $action = $character.Show() Theres an example here http://bartdesmet.net/blogs/bart/arc...M-objects.aspx and on page 412 of PowerShell in Action -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty Blog: http://richardsiddaway.spaces.live.com/ PowerShell User Group: http://www.get-psuguk.org.uk "Ryan" wrote: Quote: > PS can't load other characters other than merlin > > several .acs are installed in c:\windows\msagent\chars > > which also has merlin.acs > > the last function call always return "Merlin" > > what should be done beside putting .acs in the default location > mentioned above > > $agent = new -com agent.control.2 > $agent.connected=1 > $agent.characters.load("peedy") > $peedy=$agent.characters.character("peedy") > $peedy.name > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: ms agent Marco Shaw wrote: Quote: > What OS specifically? I had problems with the ms agent voice on XP > SP2, for example... > > Marco > > Ryan wrote: Quote: >> PS can't load other characters other than merlin >> >> several .acs are installed in c:\windows\msagent\chars >> >> which also has merlin.acs >> >> the last function call always return "Merlin" >> >> what should be done beside putting .acs in the default location >> mentioned above >> >> $agent = new -com agent.control.2 >> $agent.connected=1 >> $agent.characters.load("peedy") >> $peedy=$agent.characters.character("peedy") >> $peedy.name |
My System Specs![]() |
| | #5 (permalink) |
| | Re: ms agent Quote: > they can't speak on my machine too, XP sp2 talk, I hear nothing. I had found an FAQ and reinstalled something, but still, no sound. I just gave up, due to other more important things. Marco |
My System Specs![]() |
| | #6 (permalink) |
| | Re: ms agent Here Ryan, try this... $agent = new-object -comObject "Agent.Control.2" $agent.Connected = $true [void]$agent.Characters.Load("Genie", "Genie.acs") $char = $agent.Characters.Character("Genie") [void]$char.Show() [void]$char.Speak("Hello World!") [void]$char.Hide() |
My System Specs![]() |
| | #7 (permalink) |
| | Re: ms agent Yes, the new graphics layering in Vista does not work properly with Microsoft Agent, so characters can no longer be resized. RichS wrote: Quote: > Thanks for the script - it works fine on Vista SP1. It is similar to what I > am using already. To add to the strangeness I have discovered that if I try > to set the height and width of the character to anything other than the > defaults it will not be visible - leaving height and width at the defaults > everything works fine. Very Odd. > > if it was easy they wouldn't need us |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| agent.exe? | Vista General | |||
| JS/downloader.agent | Vista General | |||
| Trojan.Agent.AD | Vista security | |||
| Forte's Agent | Vista General | |||
| Agent 4.0 from my XP to Vista | Vista General | |||