Sounds - Custom "Windows Logon" that Speaks What You Like

Page 2 of 2 FirstFirst 12

  1. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #10

    GREAT little program, works like a charm. thank you Abhishek Ghosh!!!!
      My Computer


  2. Posts : 11,990
    Windows 7 Ultimate 32 bit
       #11

    Cool little mod. I like it; thanks. I tried to rep you; but I have to spread some around.
      My Computer


  3. Posts : 3
    Windows 7 Ultimate 32 Bit
       #12

    Its not working for me..pls help.
      My Computer


  4. Posts : 1
    Windows 7 Home Premium 64bit
       #13

    incorperating time


    I'm wondering how to make time a variable in this , for example its its 11am it will use the statement "Good Morning" or if its 2pm it will use "good afternoon" etc.

    please help !
      My Computer


  5. Posts : 2
    Pesaro e Urbino
       #14

    Ok, ok... I know, it isn't the most efficent way to made it.. but it work

    Code:
    Dim speaks, speech, cTime
    Select Case Hour(now)
       case 4 	cTime = "Good Morning"
       case 5 	cTime = "Good Morning"
       case 6	cTime = "Good Morning"
       case 7 	cTime = "Good Morning"
       case 8 	cTime = "Good Morning"
       case 9 	cTime = "Good Morning"
       case 10 	cTime = "Good Morning"
       case 11 	cTime = "Good Morning"
       case 12 	cTime = "Good Morning"
       case 13 	cTime = "Good Afternoon"
       case 14 	cTime = "Good Afternoon"
       case 15 	cTime = "Good Afternoon"
       case 16 	cTime = "Good Afternoon"
       case 17 	cTime = "Good Evening"
       case 18 	cTime = "Good Evening"
       case 19 	cTime = "Good Evening"
       case 20 	cTime = "Good Evening"
       case 21 	cTime = "Good Evening"
       case 22 	cTime = "Good Evening"
       case 23 	cTime = "Good Evening"
       case 0 	cTime = "Good Night"
       case 1 	cTime = "Good Night"
       case 2 	cTime = "Good Night"
       case 3 	cTime = "Good Night"
    End Select
    
    speaks=cTime & "Max"
    
    Set speech=CreateObject("sapi.spvoice")
    speech.Speak speaks
      My Computer


  6. Posts : 64
    Windows 7 Home Premium 32-bit
       #15

    I added the code below to the script but it says:

    ---------------------------
    Windows Script Host
    ---------------------------
    Script: C:\Users\End-User\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Greetings.vbs
    Line: 3
    Char: 1
    Error: Object required: '[undefined]'
    Code: 800A01A8
    Source: Microsoft VBScript runtime error


    Code:
    with speech Set .voice = .getvoices.item(0) .Volume = 100 .Rate = 0 end with

    The line 3 character 1 is the word "with".
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:03.
Find Us