Simple Notepad Programming 01

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Simple Notepad Programming

Open Notepad then type:



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, Save, then type talk.vbs.

You might also like