Jump to content

How to make your PC Greet You!

This is a guide on how to get your pc to greet you!

(Yes i know that i'm not the first on to post this and I AM NOT THE FOUNDER of this code.

What you need: A computer running windows 7 or higher, a windows notepad,

Here is the steps:

1) First you need to create a code inside notepad or a text document. 

Copy this code:

 

Set Sapi = Wscript.CreateObject("SAPI.SpVoice")

dim str

if hour(time) < 12 then
Sapi.speak "Good Morning User"
else
if hour(time) > 12 then
if hour(time) > 16 then
Sapi.speak "Good evening User"
else
Sapi.speak "Good afternoon User"
end if
end if
end if

Sapi.speak "The current 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)
end if

if hour(time) > 12 then
Sapi.speak "P.M."
else
if hour(time) = 0 then
if minute(time) = 0 then
Sapi.speak "Midnight"
else
Sapi.speak "A.M."
end if
else
if hour(time) = 12 then
if minute(time) = 0 then
Sapi.speak "Noon"
else
Sapi.speak "P.M."
end if
else
Sapi.speak "A.M."
end if
end if
end if

 

(end of code)

2) Paste this code inside the note that you created earlier. Make sure it ends with .vbs 

3) Go to User > AppData > Roaming > Microsoft > Windows > Start meny > Program >Autostart

Put the file ín Autostart And Reset your pc


When you log in to your account You should be greeted by ex ( Good Evening User the time is 12:00) 

I hope you like this post and if you need further instructions Please notify me and i will make a youtube video about it! 

Bye And sorry for the long post here is 

ssssssss.png

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Aaron Hossain said:

Not new but nice info.

Yea i know but i just found this and think that its amazing. 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Geek Oskar said:

Yea i know but i just found this and think that its amazing. 

Cool . 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, MikeBurr said:

If this fucks up my PC i blame you -.-

The first time the pc starts up slower then usual but the second time it started up normal (atleast for me)

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, Geek Oskar said:

<Snip>

I never knew this was possible 

Hello

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, ModuleLFS said:

I guess its cool but no idea why you would need this.

Maybe if you want a more customized pc this would be great!

Link to comment
Share on other sites

Link to post
Share on other sites

so many if... super unoptimized code `-`

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, GreezyJeezy said:

terren probably wrote it xD 

its Taran.:P

Hello

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, MikeBurr said:

....... Slower than usual??? Whats your specs???

My specs are 

i7 950 3.07Ghz

Ram 16.0

Windows 10

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, TAHIRMIA said:

its Taran.:P

i even googled that shit and thats what it said (how i spelled it) -_- i can never win

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, GreezyJeezy said:

i even googled that shit and thats what it said (how i spelled it) -_- i can never win

got it from LMG website

Capture.PNG

Hello

Link to comment
Share on other sites

Link to post
Share on other sites

21 minutes ago, MikeBurr said:

If this fucks up my PC i blame you -.-

not sure why it would fuck up your PC considering you can see the code and you aren't downloading anything.

Link to comment
Share on other sites

Link to post
Share on other sites

18 minutes ago, AlexTheRose said:

Ewww, VBScript. Why on earth would you use that?

Whats wrong with VBScript?

Please vote for Donald Trump. I am out of sitcoms to watch.

When lyfe gives you HDDs, make SSDs

 

 

 

Spoiler

 

Link to comment
Share on other sites

Link to post
Share on other sites

30 minutes ago, GreezyJeezy said:

i even googled that shit and thats what it said (how i spelled it) -_- i can never win

Off topic:  but has anyone ever told you that your avatar is hypnotic?

Please vote for Donald Trump. I am out of sitcoms to watch.

When lyfe gives you HDDs, make SSDs

 

 

 

Spoiler

 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, I am an SSD said:

Off topic:  but has anyone ever told you that your avatar is hypnotic?

nope xD i've only had one guy keep telling me to change it :P 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I made this (ish) in C#, with a lot less code and some more functionality:

using System;
using System.Speech.Synthesis;

namespace Welcome
{
    class Program
    {
        static SpeechSynthesizer speak = new SpeechSynthesizer();
        static PromptBuilder builder = new PromptBuilder();
        static void Main(string[] args)
        {
            string username = Environment.UserName;
            string title = "master";
            try
            {
                if (args.Length == 1)
                {
                    Console.WriteLine("One argument");
                    if (args[].StartsWith("title:"))
                    {
                        title = args[].Substring(6);
                    }
                    else if (args[] == "-notitle") title = null;
                    else username = args[];
                }
                else if (args.Length <= 2)
                {
                    Console.WriteLine("Two or more arguments");
                    if (args[] == "-notitle") title = null;
                    else title = args[];
                    username = args[1];
                }
                else
                {
                    Console.WriteLine("No arguments");
                }
            }
            catch { }
            string greet = "Greetings";
            if (DateTime.Now.Hour < 12) greet = "Good morning";
            else if (DateTime.Now.Hour < 20) greet = "Good afternoon";
            builder.AppendSsmlMarkup("<emphasis>" + greet + "</emphasis> " + title + " " + username + ". The <emphasis>time</emphasis> is ");
            builder.AppendTextWithHint(DateTime.Now.TimeOfDay.Hours + ":" + DateTime.Now.TimeOfDay.Minutes, SayAs.Time);
            builder.AppendText("O'clock.");
            speak.Speak(builder);
        }
    }
}

It calls you by your name with the title "master". It even takes a few arguments, so you can override what title and name it says, or even remove the title altogether.

Add "-notitle" to keep it from calling you "master",

Add "Bob" to make it call you "master Bob" instead,

Add "-notitle Bob" to make it call you just "Bob",

Add "Sir Bob" to make it call you "Sir Bob" (or "Miss Everdeen" to make it call you "Miss Everdeen") and

Add "title:Sir" to make it use the title "Sir" with the username which you're logged into the computer with.

 

Welcome.exe

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Tosa said:

<Snip>

I will try it when I get on my Computer

Hello

Link to comment
Share on other sites

Link to post
Share on other sites

Thread moved to Guides and Tutorials.

"It pays to keep an open mind, but not so open your brain falls out." - Carl Sagan.

"I can explain it to you, but I can't understand it for you" - Edward I. Koch

Link to comment
Share on other sites

Link to post
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

×