Questo tutorial ti aiuterà a fare un piccolo script che parla ciò che si digita.
Aprire il Blocco note e incollare il seguente codice:
Dim msg, sapi Dim msg, SAPI
msg=InputBox("Enter your text","Talk it") msg = InputBox ( "Inserisci il tuo testo", "Talk it")
Set sapi=CreateObject("sapi.spvoice") Impostare SAPI = CreateObject ( "sapi.spvoice")
sapi.Speak msg sapi.Speak msg
2. Salvate il file come tts.vbs o altro nome, ma che deve terminare con Estensione vbs.
3. Dopo aver fatto doppio clic su di esso, inserire il testo e premere OK. Lo script si comincia a parlare.
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento