Advertisement
Guest User

WelcomeOnStartup

a guest
Mar 16th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* Install instruction (DONT COPY THIS) */
  2.  
  3. 1. OPEN NOTEPAD.EXE
  4. 2. PAST THE SCRIPT
  5. 3. SAVE AS welcome.vbs
  6. 4. PRESS WINDOWS KEY + R
  7. 5. TYPE IN: Shell:startup
  8. 6. PUT welcome.vbs IN YOUR STARTUP FOLDER
  9. 7. RESTART YOUR COMPUTER
  10.  
  11. /* START COPYING FROM UNDER PHRASE */
  12.  
  13. Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
  14.  dim str
  15.  if hour(time) < 12 then
  16.  Sapi.speak "Good Morning Reddit User"
  17.  else
  18.  if hour(time) > 12 then
  19.  if hour(time) > 16 then
  20.  Sapi.speak "Good evening Reddit User"
  21.  else
  22.  Sapi.speak "Good afternoon Reddit User"
  23.  end if
  24.  end if
  25.  end if
  26.  Sapi.speak "The current time is"
  27. if hour(time) > 12 then
  28.  Sapi.speak hour(time)-12
  29.  else
  30.  if hour(time) = 0 then
  31.  Sapi.speak "12"
  32.  else
  33.  Sapi.speak hour(time)
  34.  end if
  35.  end if
  36. if minute(time) < 10 then
  37.  Sapi.speak "o"
  38.  if minute(time) < 1 then
  39.  Sapi.speak "clock"
  40.  else
  41.  Sapi.speak minute(time)
  42.  end if
  43.  else
  44.  Sapi.speak minute(time)
  45.  end if
  46. if hour(time) > 12 then
  47.  Sapi.speak "P.M."
  48.  else
  49.  if hour(time) = 0 then
  50.  if minute(time) = 0 then
  51.  Sapi.speak "Midnight"
  52.  else
  53.  Sapi.speak "A.M."
  54.  end if
  55.  else
  56.  if hour(time) = 12 then
  57.  if minute(time) = 0 then
  58.  Sapi.speak "Noon"
  59.  else
  60.  Sapi.speak "P.M."
  61.  end if
  62.  else
  63.  Sapi.speak "A.M."
  64.  end if
  65.  end if
  66.  end if
  67. Sapi.speak "I am delighted to be at your service."
  68. dim r
  69. randomize
  70. r = int(rnd*27) + 1
  71. select case r
  72.     case 1
  73.         Sapi.speak "Did you know that When an apple is cut (or bruised), oxygen is introduced into the injured plant tissue. When oxygen is present in cells, polyphenol oxidase (PPO) enzymes in the chloroplasts rapidly oxidize phenolic compounds naturally present in the apple tissues to o-quinones, colorless precursors to brown-colored secondary products."
  74.     case 2
  75.         Sapi.speak "Did you know that In 1941 during the run-up to the American involvement in World War II, Salvador Dali, who would become the world's most famous Surrealist, held a fundraising party for displaced European artists in California's Hotel del Monte."
  76.     case 3
  77.         Sapi.speak "Did you know that Bones, stop growing after puberty and muscle and fat cells also stop dividing. But cartilage - that's the plastic-like stuff in ears and noses - cartilage continues to grow until the day you die. Not only does cartilage grow, but the earlobes elongate from gravity. And that makes ears look even larger."
  78.     case 4
  79.         Sapi.speak "Did you know that Ocellaris clownfish. Amphiprion ocellaris, also known as the ocellaris clownfish, false percula clownfish or common clownfish, is a marine fish belonging to the family Pomacentridae which includes clownfishes and damselfishes. Amphiprion ocellaris are found in different colors, depending on where they are located."
  80.     case 5
  81.         Sapi.speak "Did you know that Even the Oxford English Dictionary throws its hands up and admits “of the actual origin we have no evidence.” But, the OED continues, “the forms dada and tata, meaning 'father,' originating in infantile or childish speech, occur independently in many languages.” In other words, “dad” might come from baby ..."
  82.     case 6
  83.         Sapi.speak "Did you know that In 1559 Tristan de Luna established a short-lived settlement at Pensacola Bay; it is considered one of the first European-established settlements in what is now the continental United States but was abandoned."
  84.     case 7
  85.         Sapi.speak "Did you know that Regardless of your view, here's the order of the eight larger planets, starting nearest the sun and working outward through the solar system: Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune."
  86.     case 8
  87.         Sapi.speak "Did you know that Some angler fish can be quite large, reaching 3.3 feet (1 meter) in length. Most however are significantly smaller, often less than a foot. Their most distinctive feature, worn only by females, is a piece of dorsal spine that protrudes above their mouths like a fishing pole—hence their name."
  88.     case 9
  89.         Sapi.speak "Did you know that Gills are feathery organs full of blood vessels. A fish breathes by taking water into its mouth and forcing it out through the gill passages. As water passes over the thin walls of the gills, dissolved oxygen moves into the blood and travels to the fish's cells."
  90.     case 10
  91.         Sapi.speak "Did you know that Polar bears roam within the Arctic Circle—including the North Pole. Penguins are found only in the Southern Hemisphere, mostly near Earth's South Pole, in Antarctica."
  92.     case 11
  93.         Sapi.speak "Did you know that Most humans (say 70 percent to 95 percent) are right-handed, a minority (say 5 percent to 30 percent) are left-handed, and an indeterminate number of people are probably best described as ambidextrous."
  94.     case 12
  95.         Sapi.speak "Did you know that Interestingly, there is also a lot of oxygen on Venus and Mars, which is perhaps not surprising, since they are the closest planets to Earth and probably formed in similar conditions. In their cases, however, most of the oxygen is there in the form of carbon dioxide."
  96.     case 13
  97.         Sapi.speak "Did you know that Ipso facto is a Latin phrase, directly translated as by the fact itself, which means that a certain phenomenon is a direct consequence, a resultant effect, of the action in question, instead of being brought about by a previous action. It is a term of art used in philosophy, law, and science."
  98.     case 14
  99.         Sapi.speak "Did you know that While both light and sound travel as waves, the speed of light is much, much faster. Light is composed of electromagnetic waves which travel independent of a medium. That is to say, light can travel in a vacuum, such as outer space. Electromagnetic waves travel very fast."
  100.     case 15
  101.         Sapi.speak "Did you know that Pholcids, or daddy long-legs spiders, are venomous predators, and although they never naturally bite people, their fangs are similar in structure to those of brown recluse spiders, and therefore can theoretically penetrate skin."
  102.     case 16
  103.         Sapi.speak "Did you know that It all started in 1958 in Wichita USA, when brothers Dan and Frank Carney opened the world's first Pizza Hut restaurant by borrowing $600 from their mum. It was the start of the biggest pizza name in the world, and in 1973, that fantastic pizza came to the UK."
  104.     case 17
  105.         Sapi.speak "Did you know that in 1863: The first one-dollar bill was issued as a Legal Tender Note (United States Note) with a portrait of Salmon P. Chase, the Secretary of the Treasury under President Abraham Lincoln."
  106.     case 18
  107.         Sapi.speak "Did you know that But there is no disagreement that scales found during the Silurian Period, aged 420 million years, are from sharks. Shark scales from this period have been found in Siberia and Mongolia. The oldest shark teeth are from the Devonian Period, about 400 million years old, found in Europe."
  108.     case 19
  109.         Sapi.speak "Did you know that Normally, there are 18 pairs of ribs in the horse, but a nineteenth rib on one side or both is not considered all that rare. Eight pairs of ribs are known as true ribs. They join the segments of the sternum or breastbone. The other 10 are known as floating ribs--merely overlapping and being attached to each other."
  110.     case 20
  111.         Sapi.speak "Did you know that On November 19, 1863, President Abraham Lincoln delivered a short speech at the end of the ceremonies dedicating the battlefield cemetery at Gettysburg, Pennsylvania. That speech has come to be known as the Gettysburg Address."
  112.     case 21
  113.         Sapi.speak "Did you know that On land, the league was most commonly defined as three miles, though the length of a mile could vary from place to place and depending on the era. At sea, a league was three nautical miles (about 5.6 km)."
  114.     case 22
  115.         Sapi.speak "Did you know that While most turtles have webbed feet, some, such as the pig-nosed turtle, have true flippers, with the digits being fused into paddles and the claws being relatively small. These species swim in the same way as sea turtles do (see below). Sea turtles are almost entirely aquatic and have flippers instead of feet."
  116.     case 23
  117.         Sapi.speak "Did you know that In the area west of Marquette, Michigan. Water Volume: 3,000,000,000,000,000 gallons of 440 trillion cubic feet or 10% of the world's fresh water. Enough to flood North and South America to one foot deep. See story about Lake Superior ice coverage March 2009."
  118.     case 24
  119.         Sapi.speak "Did you know that December 31, 1751 was followed by January 1, 1752 (the switch from March 25 to January 1 as the first day of the year) September 2, 1752 was followed by September 14, 1752 (drop of 11 days to conform to the Gregorian calendar)"
  120.     case 25
  121.         Sapi.speak "Did you know that You are more likely to get a sunburn between 10 in the morning and 4 in the afternoon, when the sun's rays are the strongest. You might think the chance of getting a sunburn on cloudy days is less, but the sun's damaging UV light can pass through clouds."
  122.     case 26
  123.         Sapi.speak "Did you know that The Lincoln cent or Lincoln penny is a cent coin (or penny) (1/100 of a dollar) that has been struck by the United States Mint since 1909. The obverse or heads side was designed by Victor David Brenner, as was the original reverse."
  124.     case 27
  125.         Sapi.speak "Did you know that King has published fifty novels, including seven under the pen name Richard Bachman, and five non-fiction books. He has written nearly two hundred short stories, most of which have been collected in nine collections of short fiction. Many of his stories are set in his home state of Maine."
  126.  
  127. end select
  128.  
  129. Sapi.speak "I will be silent for now, enjoy your stay."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement