This document provides instructions for creating a simple Notepad program that asks the user for their name using inputbox and messageboxes, then greets them by name and has the computer speak a welcome message using text-to-speech. The program prompts the user to type their name, stores it in a variable, concatenates it into a greeting messagebox, and uses the SAPI.SpVoice object to audibly speak a welcome string to the user.
This document provides instructions for creating a simple Notepad program that asks the user for their name using inputbox and messageboxes, then greets them by name and has the computer speak a welcome message using text-to-speech. The program prompts the user to type their name, stores it in a variable, concatenates it into a greeting messagebox, and uses the SAPI.SpVoice object to audibly speak a welcome string to the user.
This document provides instructions for creating a simple Notepad program that asks the user for their name using inputbox and messageboxes, then greets them by name and has the computer speak a welcome message using text-to-speech. The program prompts the user to type their name, stores it in a variable, concatenates it into a greeting messagebox, and uses the SAPI.SpVoice object to audibly speak a welcome string to the user.
This document provides instructions for creating a simple Notepad program that asks the user for their name using inputbox and messageboxes, then greets them by name and has the computer speak a welcome message using text-to-speech. The program prompts the user to type their name, stores it in a variable, concatenates it into a greeting messagebox, and uses the SAPI.SpVoice object to audibly speak a welcome string to the user.
dim name x=msgbox("Type your name below.",,"My First Program") name=inputbox("What do I call you?") msgbox("Hello," + name) StrText=("Hello user. Welcome to your computer.") set ObjVoice = CreateObject("SAPI.SpVoice") ObjVoice.speak StrText
Click File, then Save, type Ask.vbs, then save or enter.