Create Your Own Time Teller (No Software Needed)
Assalam-u-Alikum Friends, The aim of this post to teaching you an awesome trick which is creating a Time Teller . Interesting is it ? Lets start, Following Steps are included First thing is Goto Start Menu type " Notepad " and press Enter Key. Screen Shot : Copy the following code and paste it in Notepad. Set Sapi = Wscript.CreateObject("SAPI.SpVoice") Sapi.speak "Hello Welcome to Time Teller." Sapi.speak "Today date is." Sapi.speak day(date) Sapi.speak monthname(month(date)) Sapi.speak year(date) Sapi.speak "and the currently time is" if hour(time) > 12 then Sapi.speak hour(time)-12 else if hour(time) = 0 then Sapi.speak "12" else Sapi.speak hour(time) end if end if if minute(time) < 10 then Sapi.speak "o" if minute(time) < 1 then Sapi.speak "clock" else Sapi.speak minute(time) end if else Sapi.speak minute(time) ...
Comments
Post a Comment