Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
32 views

Simple Notepad Programming 2

This document provides instructions for creating a simple voice program using Notepad. It tells the user to create a new file, type code to define a text string and voice object, then have the computer speak the text. It concludes by instructing the user to save the file as "Computer Talk.vbs" and that they can experiment by changing the text.

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Simple Notepad Programming 2

This document provides instructions for creating a simple voice program using Notepad. It tells the user to create a new file, type code to define a text string and voice object, then have the computer speak the text. It concludes by instructing the user to save the file as "Computer Talk.vbs" and that they can experiment by changing the text.

Uploaded by

Himura Kenshin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Simple Notepad Programming 2

Crete a new file in Notepad then type:



StrText=("Hello user. Welcome to your computer.")
set ObjVoice = CreateObject("SAPI.Spvoice")
ObjVoice.speak StrText

Click File, then Save, type Computer Talk.vbs, then save or enter.
*Note: In this version, you can type anything you want your computer to say. Experiment.

You might also like