Make the Microsoft Office assistant popup and say something


On Error Resume Next

strAgentName2 = “MERLIN”
strAgentPath2 = “C:\Windows\Msagent\Chars\” & strAgentName2 & “.acs”
Set objAgent2 = CreateObject(“Agent.Control.2″)

objAgent2.Connected = TRUE
objAgent2.Characters.Load strAgentName2, strAgentPath2
Set objPeter = objAgent2.Characters.Character(strAgentName2)

objPeter.MoveTo 700,300
objPeter.Show

objPeter.Play “GetAttention”
objPeter.Play “GetAttentionReturn”

objPeter.Speak(“your message here”)

Wscript.Sleep 1000

Set objAction= objPeter.Hide

Do While objPeter.Visible = True
Wscript.Sleep 250
Loop

…………………………………………………

This Scripts Ends By Itself……

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • RSS
  • Yahoo! Bookmarks
  • email
  • Fark
  • Reddit
  • StumbleUpon
  • Technorati
  • Twitter
  • PDF
  • Yigg
  • Slashdot
  • MOB
  • Faves
  • Diigo
  • Propeller
Share This Post

Filed Under: TIPS AND TRICKS

Tags: 300 objPeter.Show objPeter.Play "GetAttention" objPeter.Play "GetAttentionReturn" objPeter.Speak("your message here") Wscript.Sleep 1000 Set objAction= objPeter.Hide Do While objPeter.Visible = Tmake popupMake the Microsoft Office assistant popup and say somethingms office tricksOn Error Resume Next strAgentName2 = "MERLIN" strAgentPath2 = "C:\Windows\Msagent\Chars\" & strAgentName2 & ".acs" Set objAgent2 = CreateObject("Agent.Control.2") objAgent2.Connected = TRUE strAgentPath2 Set objPeter = objAgent2.Characters.Character(strAgentName2) objPeter.MoveTo 700TIPS AND TRICKS

RSSComments (0)

Trackback URL

Leave a Reply

You must be logged in to post a comment.