Messages - fowmow [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 9next
attached in my above post is now a zipped version for anyone who doesn't have an AutoHotkey installation.

Very cool.  What language was this written in?  Don't forget to use the appropriate codebox.   :)

EDIT:  Duh, I see now "ahk" in the title and you said it was AutoHotKey.  Jeez.  Maybe I should pay better attention!

Now I wonder if GeSHi has any plans to support AutoHotKey?

I wonder if there is a nicer speech engine i could get to make the speaker a bit smoother.

The only things I know of offhand are these (in no particular order):

1.  Use SAPI 5.1, or 5.3 instead of 4.0.  [1, 2, 3]

2.  AT&T Natural Voices

3.  A bunch of other voice libraries.

Thanks everyone for the great work on this, this is pretty cool actually.

And thank you, very much!

General Software Discussion / Re: Learnin Javascript
« on: August 22, 2007, 04:30 PM »
Exactly what I originally thought.  Your problem was not JavaScript at all.  It was a CSS issue.  Well, technically a CSS issue.

The source that SeqDownload creates for you starts out something like this:

Code: CSS [Select]
  1. <style type="text/css">
  2. body, input {
  3.         font-weight: normal;
  4.         font-size: 12px;
  5.         font-family:  Verdana, Arial, Helvetica;
  6.          }
  7. </style>

All you have to do is add this, *directly* after that.

Code: CSS [Select]
  1. body
  2. {
  3.         background-image: url("OKX_Topo_Short.jpg");
  4.         background-repeat: no-repeat;
  5. }

I'll leave it up to you to get that image.  Hint.

Following Cpilot's lead, the *dreaded* Microsoft Agent, Merlin.

I mixed it up a bit with the Sleep()'s so it didn't appear as if he paused too long.  And for the record... I believe I could have done this with events, but honestly, I was too lazy to read any more of the Agent SDK.  So it could definitely be done better.

Code: AutoIt [Select]
  1. $o = ObjCreate("Agent.Control.2")
  2. $o.Connected = "True"
  3. $o.Characters.Load("Merlin", @WindowsDir & "\msagent\chars\merlin.acs")
  4. $c = $o.Characters.Character("Merlin")
  5. $c.Show()
  6. $c.Play("Confused")
  7. Sleep(3000)
  8. $c.Speak("Count to 10?")
  9. Sleep(6000)
  10. For $i = 1 To 10
  11.         $c.Speak("" & $i & "")
  12.         Sleep(1500)
  13. Sleep(2500)
  14. $c.Think("Well... that was weird.")
  15. Sleep(3000)
  16. $c.Hide()
  17. Sleep(2000)

All of the Sleep()'s are necessary to allow Merlin enough time to speak.  And for those of you who might go, "Hey, I thought these guys were supposed to speak?"

You need a Text-To-Speech engine and SAPI 4.0.

I sat there myself for a time thinking, "Why won't Merlin talk to me?"


Hey Cpilot, they have a code block for FBSL too (in case you didn't already know).

General Software Discussion / Re: Learnin Javascript
« on: August 22, 2007, 08:57 AM »
Alright ljbirns, is this along the lines of what you wanted to see?


Pages: prev1 2 [3] 4 5 6 7 8 9next
Go to full version