Jump to content

Computer Wishing in Windows XP


maheep

Recommended Posts

Hello everyone. While watching a Science Fiction movie yesterday, they had computers that wished them, starting with the message 'System Loading... Good Morning'. The voice changes as the time changes, ie. it is different in morning, at noon and in the evening. So, I thought I'd implement it in my system. Googled, but had no luck. Finally, I realized it was easy doing it with AutoIt and Scheduled Tasks options in Windows.



;;;;;;;;;;Script Designed at Maheep's HOME!!;;;;;;;;;;;;;;;;;;;;;;;;;

If @Hour = "00" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "01" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "02" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "03" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "04" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "05" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "06" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "07" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "08" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "09" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "10" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "11" Then SoundPlay(@WindowsDir & "\morning.mp3",1)
If @Hour = "12" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "13" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "14" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "15" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "16" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "17" Then SoundPlay(@WindowsDir & "\noon.mp3",1)
If @Hour = "18" Then SoundPlay(@WindowsDir & "\evening.mp3",1)
If @Hour = "19" Then SoundPlay(@WindowsDir & "\evening.mp3",1)
If @Hour = "20" Then SoundPlay(@WindowsDir & "\evening.mp3",1)
If @Hour = "21" Then SoundPlay(@WindowsDir & "\evening.mp3",1)
If @Hour = "22" Then SoundPlay(@WindowsDir & "\evening.mp3",1)
If @Hour = "23" Then SoundPlay(@WindowsDir & "\evening.mp3",1)

I made out the sounds using a TTS Application on my PC.

To implement this, compile this AutoIt Script and go to Control Panel>Scheduled Tasks and create a new task, which will run the compiled EXE at Logon. You may replace the sounds mentioned in the script with custom.

Bingo, when you login, you will hear 'Good Afternoon', 'Good Morning', 'Good Evening' depending upon the time of day. Cool, isn't it. Tested for Windows XP and Windows 7. Please do post your comments, if facing any problems, or if you want any improvements.

Attached Files:

attach_win_wish.7z

Edited by maheep
Link to comment
Share on other sites


JFYI, Windows Narrator should be available in XP also:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/reader_overview.mspx?mfr=true

Something like this:

http://www.snaphow.com/make-windows-welcome-you-with-audio-voice-messages-with-narrator/

should then be possible (like it has been "pumped up" as a 7 feature :whistling:):

http://www.clickonf5.org/9210/windows-7-welcome-voice-message-during-logon/

BTW, instead of comparing each value, you can use < and > to select within a range of "hours".

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

:P Thanx for the reply. Actually I put the sound files here cuz i hate ms sam, mary and other voices. Also, many thanx for suggesting improvement in my script

edit:

actually i don't think a gui interface is needed. So i drop this idea. Like jaclaz has suggested, we can use the ms voices. However the purpose of using autoit is different voices at different time which is not mentioned in the links provided at the post above

Edited by maheep
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...