Subscribe For Free Updates!

We'll not spam mate! We promise.

Showing posts with label Discoveries. Show all posts
Showing posts with label Discoveries. Show all posts

Wednesday, 11 February 2015

Get solution to your medical problems with Google's Medical Information App

Google health advice
A release by Google confirmed that Google is rolling out a health feature that provides information about "common" medical conditions in response to related searches and also proffer the most acceptable and suitable solutions and prescriptions to the illness.

The application/facility provides medical illustrations, possible treatments and other data ahead of its traditional links to others' sites. Google developers say it worked with doctors to develop the service, but adds that it is not intended to replace visits to a professional. It is initially limited to the US.

It was added that it plans to extend the service across the globe, adding rarer ailments in time.
British doctors have welcomed the initiative, but caution that the information needs to be edited to become suitable for local markets. "One in 20 Google searches are for health-related information," said Prem Ramaswami, announcing the launch of the feature.

It was also noted that the application has a wide range of medical capabilities. A released by Dr Andrew, he said "We'll show you typical symptoms and treatments, as well as details on how common the condition is - whether it's critical, if it's contagious, what ages it affects, and more.
"For some conditions you'll also see high-quality illustrations from licensed medical illustrators. Once you get this basic info from Google, you should find it easier to do more research on other sites around the web, or know what questions to ask your doctor."

The effort is the latest in a series of moves into health by the search giant. Last year it revealed it was funding development of a cancer and heart-attack detector, which would involve placing nanoparticles in users' bloodstreams.

It has also bought the maker of a spoon for Parkinson's patients, is working on smart contact lenses for people with diabetes, and has invested in 23andMe, a start-up that sells genetics tests to the public.
'Unnecessary treatments' The latest service is an extension of Knowledge Graph - a Google initiative to map the various connections that link together different objects, facts and concepts.
Google health advice 
 
 Expandable sections include a list of possible self-treatments for medical problems
The company introduced the information tool in 2012, and uses it to provide boxed summaries that appear to the top right-hand side of desktop searches, and above the results of its smartphone Search app.
Much of Knowledge Graph's information is sourced from Wikipedia, the online encyclopedia written by its readers. While Wikipedia is hugely popular, its crowdsourced nature means its entries can include inaccuracies.

To minimise the risk of errors in the health-related tips, Google says it has had the information checked by doctors employed by itself and/or by Minnesota's Mayo Clinic.

Dr Andrew Goddard, from the UK's Royal College of Physicians, cautiously welcomed the development.
"The public have come to rely on Google and other search engines so it is important we understand how best to use these resources to allow people and patients to be engaged with their health and healthcare," he said.

"The involvement of the Mayo Clinic is reassuring but if it were to be rolled out in the UK we would like to see a UK badge of quality assurance."

Dr Richard Vautrey, deputy chair of the British Medical Association's GP committee, added that the initiative had the potential to reduce pressure on family doctors if it encouraged the public to take care of minor conditions. But he too had concerns about Google's willingness to adapt to the UK's health system. "This experiment from Google may well have benefits although we will need more detail to see how practically it will work", he said.

"Most importantly it must be underpinned by clinical guidance from UK based health professionals as there are stark differences between the UK and the USA health systems and culture.
"Some evidence suggests that many patients in America are often exposed to unnecessary investigations and treatments that are not recommended here, partially owing to the profit driven incentive that underpins the USA's private health care system."

Google Translate 'turns interpreter' with voice function


Related Stories

Google developed a Translate app some months ago, and it was released that the Translate app can now act as an interpreter, with the addition of a real-time voice-translation mode.

It said the updated app would automatically recognise languages being spoken and translate them.
The update, launched last month, allowed users to instantly translate messages and other documents using their phone's camera.
But one academic said it would fail to understand the more complex linguistic tools, like Chinese, Japanese languages and other complicated languages. "For basic things, it might be very useful. My mother, for example, does not speak any other languages, but loves travelling, so she could find her way around a town.
"But it is never going to pick up the nuances, the cultural references or the humour," said Ariane Bogain, a senior lecturer in modern foreign languages at the University of Northumbria.
Prior to the update, Google's app could translate spoken or typed phrases and repeat them out loud. But it worked phrase-by-phrase, rather than in real time, and the pronunciations and rhythm of speech could sometimes be problematic if not properly controlled by the user. It may generate an unwanted result the moment the user was not able to pronounce the world eloquently.
GoogleThe updated app can also instantly translate written text, using a smartphone camera
Users of the new app can also use their phone's camera to instantly translate phrases by snapping the picture of the phrases, using the Word Lens feature, which works without a wi-fi or a data connection.

A release by Google said: "The Translate app already lets you use camera mode to snap a photo of text and get a translation for it in 36 languages. Now, we're taking it to the next level and letting you instantly translate text using your camera.
"While using the Translate app, the user needs to just point the camera at a sign or text and he/she will see the translated text overlaid on your screen - even if you don't have an internet or data connection." It was developed to be offline application even though some features requires data connection or a wi-fi connection.

It said the feature was available for English to and from:
  • French
  • German
  • Italian
  • Portuguese
  • Russian
  • Spanish
Another release from Google said users could also "tap the mic to get into voice translation mode, tap the mic again, and the Google Translate app will automatically recognise which of the two languages are being spoken, letting you have a more fluid conversation", the application was developed to suit the need of the users and also it can auto-differentiate between to or more languages been spoken by a user.
The company said the update took people "one step closer to turning [their smartphone] into a universal translator and to a world where language is no longer a barrier".

Limitations



While acknowledging the app's usefulness to holidaymakers struggling with the language, Ms Bogain said that major events, such as an EU summit, were not likely to begin using it.

She added that online translations conveyed the rough message - "but you are going to lose a lot in the translation".

Ms Bogain said: "One word can have various meanings, depending on the context, and I do not think that online translation tools are there yet.

"As lecturers, when we ask students to hand in translations, we can immediately spot who has used a translation tool because the phrasing is not natural. The message is roughly there, but something is lost.
"I do not think it is going to replace 15 years of training."

Other voice translation apps are already on the market, and Skype launched the function last month.

According to Google release, it was gathered that more than 500 million people use its version every month to make more than one billion translations per day.
Google said the update would be available to both Android and iOS over the course of this week.

Sunday, 18 January 2015

Facebook at Work app aims for role in the office

Facebook at Work

The new app resembles Facebook's main product, but keeps posts private within a specific company
Facebook is launching a new app that aims to expand the US firm's presence within companies and other places of work.
The software is designed to provide a way for users to communicate as an alternative to email and other intranet systems.
The firm says information posted within the service is kept "secure, confidential and completely separate" from personal Facebook profiles.
The move poses a challenge to LinkedIn.
The work-focused social network recently announced its own plan to release a new app to help co-workers share information.
Facebook's move also threatens other established collaboration tools targeted at businesses including Yammer - which Microsoft bought for $1.2bn (£788m) in 2012 - Jive and MangoApps.Email overload
Facebook at WorkThe service is designed to help avoid important messages being missed because of email overload
Facebook already has about 1.4 billion people using its platform at least once a month, but it is currently blocked in some workplaces.
The Menlo Park, California-based firm suggested one advantage it had over rival work communication tools was that people were already familiar with the way it worked, meaning firms could save on training costs.
Many companies are keen to adopt such software because of complaints that a deluge of messages has made email a poor tool to keep in touch with.
"Facebook at Work is a separate experience that gives employees the ability to connect and collaborate efficiently using Facebook tools - many that they're likely already using such as News Feed, Groups, messages and events," the social network said in a statement.
"The information shared among employees is only accessible to people in the company."
A spokeswoman added: "Internally at Facebook we've been using our product for years, and we're now looking forward to the feedback from our pilot partners to create the best possible experience."
One industry watcher said the move was no surprise.
"If you look how popular things like Yammer have already been, that shows that there is definitely an appetite for a business skew of Facebook itself," said Chris Green, principal technology analyst at Davies Murphy Group Europe.
"Yammer already has a lot of the look, feel and functionality of Facebook, so it is a logical thing for Facebook to follow Yammer into the marketplace."
YammerMicrosoft says Yammer is already used by more than 200,000 companies worldwide
Advert-free
For now, the Facebook at Work app is free-to-use, but limited to an unnamed group of companies that will trial its use.
At this stage the work version will not feature adverts, nor will it gather data about its users that could be sold on to third parties.
"Businesses would be concerned if it became ad-supported with information shared for context-driven marketing posts - that would be a no-no for a lot of companies on data protection grounds," commented Mr Green.
"Companies would probably be happier paying a subscription fee - as is the case with Yammer - and having an ad-free closed environment that they can keep total data control over."
Facebook responded: "It's too early discuss future plans around ads or monetisation."

Elon Musk: Hyperloop test track planned by entrepreneur

Concept drawing of Hyperloop

Could the futuristic transport system finally become a reality?

Related Stories

An ambitious plan to build a transport system that could theoretically travel at speeds of up to 700 miles per hour has taken a step closer to reality.
Billionaire entrepreneur Elon Musk tweeted he would build a test track for his Hyperloop "most likely in Texas".
He provided few details about timetable or cost, although he said that he planned to use the test track to hold annual pod racer competitions.
Mr Musk envisages the system operating between cities.
There has not been much development since the founder of PayPal announced his plans in 2013.
But this week he tweeted :
Elon Musk tweet screen grab
And later added:
Tweet from Elon Musk
Later he told the Texas Tribune that the expected the test track would be about five miles long.
Air hockey
Mr Musk, founder of Space X and chief executive of Tesla Motors, first announced plans for the Hyperloop in August 2013.
The system, he suggested, could transport passengers between Los Angeles and San Francisco in less than 30 minutes thanks to an innovative design that Musk has described as a cross between Concorde, a railgun and an air hockey table.
This would see passengers sit in cars that were then fired down a tube which had had most of its air removed. A system of magnets would accelerate and brake the capsules, and also keep them from touching the sides of the tube.
Mr Musk said that a passenger-only model would cost about $6bn and that a prototype would take three or four years to complete.
Already there is a crowd-funded California-based project - Hyperloop Transportation Technologies - that has begun thinking about how such a system could be constructed, although they have not yet produced a working prototype.
Some 100 engineers from across the US are working on the development of the system but say that they are at least 10 years away from a commercially operating Hyperloop.

New York Post and UPI Twitter accounts hacked

Screen grab from 16 January 2015 shows a United Press International Twitter account that was hacked displaying suspicious tweets on false economic and military news.

Related Stories

The Twitter accounts of the New York Post and United Press International (UPI) have been hacked with fake tweets on economic and military news.
In one post, the Pope was quoted on UPI's Twitter feed as saying that "World War III has begun".
Meanwhile, the New York Post's account said that hostilities had broken out between the United States and China.
It is the latest hack of a high-profile social media account, four days after US military command was compromised.
UPI, which is based in Washington, confirmed in a statement that both its Twitter account and news website had been hacked.
Screen grab from 16 January of hacked New York Post Business Twitter account
Six fake headlines were posted on its Twitter account and a breaking news banner was added to a fake story about the Federal Reserve on its homepage, the statement added.
A tweet on the New York Post's account said the USS George Washington, an aircraft carrier, was "engaged in active combat" against Chinese warships in the South China Sea.
A Pentagon official said the tweet about hostilities with China was "not true", AFP reports. The tweets have all since been deleted.
The New York Post says it is investigating the hack.
It comes just days after US President Barack Obama unveiled proposals to strengthen cyber security laws after a spate of attacks on high-profile US targets, including the Pentagon Twitter feed and Sony Pictures.
The Twitter account of the US military command was suspended last Monday following an attack by hackers claiming to support Islamic State.
In November hackers also released reams of confidential data stolen from Sony Pictures, and in recent years cyber criminals have attacked other US companies such as Home Depot and Target.
A number of media organisations, including AFP and the BBC, have also been subjected to cyber attacks over the past two years.

Charlie Hebdo: 'Islamist cyber attacks' hit France



Arnaud Coustilliere

Vice Admiral Arnaud Coustilliere warned of thousands of cyber attacks by Islamist groups a day before the media sites went down
Numerous French media websites have gone down a day after warnings of a wave of Islamist cyber attacks.
The sites of Le Parisien, Marianne and 20 Minutes were among those affected, although most were soon restored.
The French government said some 20,000 sites had been targeted after terror attacks in Paris left 17 dead.
The media sites' web host said that it was investigating whether it was one of them but it has ruled out an external distributed denial of service attack.
On Thursday, the head of cyber security for the French military, Vice Admiral Arnaud Coustilliere, said that "structured" groups and "well known Islamist hackers" were behind the attacks against the 20,000 sites, but did not elaborate.
The outage among the media websites began the following day. It is not yet known if the two are linked.
Le ParisienLe Parisien: an unexpected error has occurred, please try again later (Our team has been informed)
The web host Oxalide told the BBC that no line of enquiry was being dismissed, but that its initial investigations had ruled out the possibility of an external distributed denial of service attack.
Such an attack involves flooding servers with requests to render the target site, thereby causing it to fail to load.
The company told the BBC it was still in the process of determining who was behind the attack.
It said it would release a report in the early afternoon on Friday. None was forthcoming at the time of publication.
'Attacks'
That came after the vice admiral said he believed the first wave of attacks was a retaliation against Sunday's solidarity march in Paris, itself held in response to the Paris terror attacks.
According to to Agence France-Presse (AFP), he said "people who do not adhere to a certain number of values" expressed on that march were to blame.
Vice admiral Coustilliere added that some of the first wave of cyber attacks involved French army regiments and that the defence ministry "has decided to boost its security vigilance".
Besides the three named above, AFP reported that Friday's outage affected the websites of L'Express, Mediapart and France Info.
Those for France Inter, Slate and ZDNet were also among those affected from around 8am GMT on Friday.
High demand
The BBC checked the sites over the next five hours and most were quickly restored. Le Parisien and 20 Minutes remained down for a longer period but were available again by around 1pm.
The news came as it was announced that Charlie Hebdo, the magazine whose headquarters were attacked with the loss of 12 lives, has released its latest edition as a smartphone app to meet demand.
The magazine's front cover featured a weeping Muhammad and the message "all is forgiven". Millions of copies were printed - many times more than its usual circulation of around 60,000.
The print magazine went on sale in the UK on Friday. Many French outlets sold out within minutes and queues began forming in Britain early in the morning.
The app was available on iOS, Android and Windows Phone.

Thursday, 15 January 2015

Unlock Windows User Account If Your Password Expired or Forgot

Lost the password of the only administrator account on your computer? Windows password has expired but you forgot the original password? Just imagine yourself in such a situation! How to unlock a locked or expired user account without admin privileges? This tutorial will show you step-by-step procedure to unlock Windows 8, 7, Vista or XP user account with a bootable WinPE CD.

 

Step 1: Make A Bootable CD

Use an alternate PC to download the PCUnlocker ISO image which is a WinPE-based bootable media. The file you downloaded is a zip file that contains the disk image, you will need to extract the image from the zip file (i.e. drag it to your desktop).

Download ImgBurn and install, launch the program. Select the ‘Write image file to disc’ option. Next click the browse option and navigate to the disk image you just extracted. Click Open.

Select the burn to disc icon (Note: This will be greyed out, until there is a blank CD in the drive). The image is very small, it will not take long to burn.

Step 2: Boot Your Locked PC from CD

This procedure uses the boot CD you have just created, for it to work you need to make sure the machine will attempt to boot to its CD/DVD Drive before it boots to its hard drive. (Or it will simply boot into Windows login screen again).

This change in boot order (boot sequence) is carried out in the machines BIOS. When you turn on the machine watch for a message that looks like Press {key} to enter Setup. Typically Esc, Del, F1, F2, F12, or F9. When in the BIOS locate the boot order and move the CD/DVD Drive to the top of the list.

Step 3: Unlock Windows User Account

Once your computer boots from the CD, the entire Windows PE boot image will be loaded into memory. After the booting procedure is complete, you'll see the PCUnlocker program. It automatically searches for your Windows SAM database on your local hard drive, and then show you a list of local user accounts for your Windows installation.

From the list box you can find out which user account is locked out, disabled or password protected. Choose a user account with an expired or forgotten password, and click on "Reset Password" button. The program will remove your forgotten Windows login password, set your password to never expire, and unlock your locked or disabled user account.

Click on "Restart" button and reject the WinPE CD. The computer will reboot and it then automatically log back into your Windows user account without asking for a password!

Cracking/Hacking Windows Passwords (UPDATED: VISTA too!!)

Picture of Cracking/Hacking Windows Passwords (UPDATED: VISTA too!!)
xpboot.gif
Instructional/Educational Purposes only.
Be nice kids.

First of all, and I have to say this because of some recent comments, this is not a virus, and will not delete any files from your computer. In fact, ophCrack, the software we're gonna use is a very popular password cracker. Google it or Wikipedia it if you don't believe me.

This works for WINDOWS ONLY
UPDATE: WORKS FOR XP AND VISTA

This will crack all windows passwords up to 14 digits on a computer.
You need physical access to the computer.
You don't need to be logged in (that's what this is for).
It will tell you all user names and passwords on the computer.

 

Step 1: Get the resource

1. Go here:
http://ophcrack.sourceforge.net/download.phphttp://ophcrack.sourceforge.net/download.php

2. Download the latest version of ophcrack live cd. To crack passwords on an XP computer select 'ophcrack XP LiveCD'. To crack passwords on a VISTA computer select 'ophcrack VISTA LiveCD'.

3.The software you download will be a CD image (.iso format). If you try opening this on a computer with a CD-Writer and CD-Writing Software (eg. Nero, Roxio, Record Now, or whatever you have) it will write that file to a CD.
So, make the CD

Step 2: Crack

1. Make sure the computer you intend to crack is off.

2. Turn on, and instantly pop in the CD you just created.

3. By this time, windows might have started loading. So, turn off computer by holding down power button and then turn on again. What you want to do is boot from the CD. This can be done in two ways:
a. Often pressing one of the function keys (depending on manufacturer) takes you into the BIOS setup (the first splash screen that pops up when you turn on your computer should tell you which one: often F2, F11 or F12.) There, you should look around until you find where you can change the boot order (this differs from company to company depending on your computer brand). Change the boot order, so the computer first boots from CD then from Hard Disk.
b. There is often another function key (again depending on manufacturer) which enters you into the boot selection menu where you can select where to boot from. Hit boot from CD.

4. Watch as the CD loads. It will load a temporary version of linux on to the ram, dump all user names in a box and start processing. This software can only crack passwords up to 14 digits. As it deciphers the passwords, it will decipher each password in two blocks of 7 characters each, and then show you the whole password as a combination of those two under the column labeled 'net password'.

5. Vola! In about 5-10 minutes you have all the user names and passwords on that computer.
 

Great Tricks for Windows 8 that You Probably Don’t Know image

image
We’ve covered a lot of tips, tricks, and tweaks for Windows 8, but there are still a few more. From bypassing the lock screen to instantly taking and saving screenshots, here are a few more hidden options and keyboard shortcuts.
Whether you love Windows 8, hate it, or just wish Metro would go away, these options will help you make Windows 8 work the way you want it to.

Disable the Lock Screen

Windows 8 shows a lock screen when you restart your computer, log out, or lock it. It’s very pretty, but it just adds one more keystroke to the login process. You can actually disable the lock screen entirely, although Microsoft hides his option very well.
image
This option is located in the Group Policy Editor. To launch it, type “gpedit.msc” at the Start screen and press Enter.
image
In the Group Policy Editor, navigate to Computer Configuration\Administrative Templates\Control Panel\Personalization.
image
Double-click the “Do not display the lock screen” option, set it to Enabled, and click OK.
image
The next time you restart your system, log out, or lock the screen, you’ll see the login screen instead of the lock screen.
image
Combine this with skipping the Start screen and you can boot to a login screen and log straight into the desktop, just like on previous versions of Windows. The desktop will be the second screen you access instead of the fourth.

Take & Save Screenshots Instantly

Windows 8 has a new hotkey combination that lets you take and save screenshots instantly. To take a screenshot, hold the Windows key down and press the Print Screen key. Your screen will flash and Windows will save a screenshot to your Pictures folder as a PNG image file.
image
You might assume that WinKey+Alt+Print Screen would take and save a screenshot of the current window, but it doesn’t. Maybe this will be implemented in the final version of Windows 8.
We’ve also covered other new keyboard shortcuts in Windows 8.

Prevent Files From Opening in Metro

If you prefer to use Windows 8’s desktop and try to avoid Metro, you may be surprised the first time you double-click an image file in Windows Explorer and get kicked back into Metro. By default, Windows 8 launches images, videos, and music in Metro apps – even if you open them from the desktop.
To avoid this, launch the Default Programs control panel by pressing the Windows key to access Metro, typing “Default Programs,” and pressing Enter.
image
Click the “Set your default programs” link.
image
In the list of available programs, select the “Windows Photo Viewer” application and click the “Set this program as default” option.
image
Repeat this process for the  “Windows Media Player” application. You can also set the desktop version of Internet Explorer as your default Web browser from within Internet Explorer.
Of course, if you have a preferred image viewer or media player, you can install it and set it as the default application instead.

Display Administrative Tools

By default, Windows hides the Event Viewer, Computer Management and other Administrative Tools from the Start screen. If you use these applications frequently, you can easily unhide them.
From the Start screen, mouse over to the bottom or top right corner of the screen and click the Settings charm. You can also press WinKey-C to view the charms.
sshot-20
Click the “Settings” link under Start and set the “Show administrative tools” slider to “Yes.”
image
The Administrative Tools will appear on the Start screen and in the All Apps list.
image

Control Automatic Maintenance

Windows 8 has a new scheduled maintenance feature that automatically updates software, runs security scans, and performs system diagnostics at a scheduled time. By default, the maintenance tasks run at 3am if you aren’t using your computer. If you’re using your computer at the scheduled time, Windows will wait until the computer is idle.
To customize this time, open the Action Center from the flag icon in the system tray.
image
You’ll find Automatic Maintenance under the Maintenance category. Click the “Change maintenance settings” link to customize its settings.
image
From this screen, you can set the time you want to run automatic maintenance tasks. You can also have Windows wake up your computer to run maintenance tasks, if it’s asleep.
image

Customize Search Applications

Metro apps can appear as options when you use the search feature.
image
You can control the apps that appear here and trim down the list. First, click the Settings charm from anywhere on your system and click the “More PC settings” link.
image
From the PC settings screen, click the Search category and use the sliders to hide apps from the search screen.





image

Do you have any other Windows 8 tricks to share? Leave a comment and let us know!

How to Make Your Computer Talk to You


Intelligent machines capable of speech are often the stuff of futuristic sci-fi movies, but you can turn any computer into a chatty Cathy. Even though we aren’t yet at the stage with computers where they can interact with us like people, there are a few tools and simple scripts we can write to make any computer that is running Windows speak to us.

A Little (Visual) Basic History

In 1988, the first iteration of VBScript or (Visual Basic Scripting Edition) appeared and was still a very primitive version of what we have today. Over the years, the need for an easy to use and lightweight scripting language for Microsoft increased. Because of this, the company kept working on it and finally released it to the public in 1996.
It is a simple script that uses COM (Component Object Model) to create, read, update, and delete files within Microsoft operating systems. Since Windows 98 was released, it has been installed with every computer. It is highly versatile because of the fact that the VBScript host environment can be embedded within programs using Microsoft Script Control. It is used quire often with Internet Information Services, Windows Script Host, and Internet Explorer.
But, that’s enough of the technical jibber jabber. Let’s get down to it and learn how to make your computer talk!

Single Use VBScripts

Creating a visual basic script is very easy and doesn’t require any special programs. Though there are programs you can use to write more highly advanced scripts, most programmers and people who dabble in writing scripts just use Microsoft’s Notepad.
Let’s start the process by opening Notepad. After you have opened Notepad all you need to do is type in the following code or simply copy and paste it into the notepad window. In order to change what your script makes the computer say, simply replace the section that says “The geeks shall inherit the earth” with whatever you want to hear.
dim speechobject
set speechobject=createobject("sapi.spvoice")
speechobject.speak "The geeks shall inherit the earth"
Talking Computer 2
After you have successfully entered the text you wish to hear, just press “File,” and click on the “Save As…” option.
Talking Computer 3
Find a place where you want to save the image. For this example, I am saving it to an empty folder in the Downloads directory. The important thing you need to do is give it a name that ends with .vbs. This will tell the computer that you are not saving a plain text file; rather, you are saving a VBScript. We will name this sample “Geek test.vbs” as shown below.
Talking Computer 4
Now you can go ahead and close the notepad and navigate to the folder where you saved the VBScript. You will notice that the icon is not the normal TXT icon. It is a small blue scroll on a white backdrop. Double click on this icon to launch your single use script and listen to your text. Congratulations, you’ve just created your first script.
Now, to get the hang of it, try to create a few more scripts with any text you want to hear. Alternatively, you can right click on the VBScript and select the “Open with…” option then choose notepad to edit the text within the same file.
Talking Computer 5

Text to Speech Script

Now that you know how to write a single use script and have probably played with it a few times, you may be getting a bit bored. That’s why we are going to kick it up a notch.
The next thing we will learn is how to create a script that is slightly more advanced than the single use script. This will create a dialog box that you can type text into and have it read back to you by your PC.
Start by opening up your notepad again and entering this script or copy and pasting it into the notepad window.
 Dim message, sapi
 message=InputBox("What shall I say, your Geekness?","I speak for you.")
 Set sapi=CreateObject("sapi.spvoice")
 sapi.Speak message
Talking Computer 6
After the code has been entered, simply save the file as “Text to Speech.vbs” as shown earlier to finalize the script. Once it has been saved, navigate to the location where it is, and double click on it. You will notice that window is called “I speak for you.” and the prompt to enter text to be vocalized is “What shall I say, your Geekiness?” You can always alter these to say anything you want.
For now, let us enter “The geeks shall inherit the earth” then press the “OK” button to run the script and hear your text out loud.

Greetings VBScript Script

This is getting pretty fun, but your computer still isn’t interacting with you very much. Now we will try another simple script that takes into account the time of day as well as the appropriate response for the time of day. This script will read your computer’s time and, based on that, it will greet you in a certain way.
Start by opening your notepad and inserting this short script. You can replace the section that has the greetings of the day with any phrase you want to hear as well as replace Geekmeister with your own name.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 dim str
 if hour(time) < 12 then
 Sapi.speak "Good Morning Geekmeister "
 else
 if hour(time) > 12 then
 if hour(time) > 16 then
 Sapi.speak "Good evening Geekmeister "
 else
 Sapi.speak "Good afternoon Geekmeister "
 end if
 end if
 end if
Talking Computer 8
Now you can save the text document as a VBS file. Once you have done that, go to the folder where it is saved and double click on it. Based on the time that your computer shows, it will either say “Good morning, good afternoon or good evening Geekmeister.”
The script tells it that if the clock reads anything before 12, it is morning, and that anything after 12 is afternoon; however, it also has a clause that says even if it is after 12, as long as the time is past 16:00 (4 pm) it becomes evening.
Talking Computer 9

Time of Day VBScript Script

If you would like to get a little bit more advanced and receive the time, you can create a new notepad and enter this script.
The script may look complicated, but it is essentially telling your computer what to say and how to say it based on the time that is shown on your computer’s clock. You can always replace the “The current time is” with any introduction for the time that you want.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 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

Now you just need to save the file as a VBScript as you did in the previous steps and then navigate to that folder. If everything went well, you should be able to double click on it and hear the computer tell you the time.

Startup Greeting

Now that you know how to make your computer greet you and tell you the time, how cool would it be if the computer would do that when you turn on the computer. It is actually very easy to do if you just combine the two scripts and put them in the right place.
Start by opening up Microsoft notepad and copying this code into the window. It is simply a copy of both codes combined for you. Remember that you can change the greeting to “What’s up dude, Hello Master, Greetings your almighty highness,” or anything you want your computer to say to you.
Set Sapi = Wscript.CreateObject("SAPI.SpVoice")
 dim str
 if hour(time) < 12 then
 Sapi.speak "Good Morning Geekmeister "
 else
 if hour(time) > 12 then
 if hour(time) > 16 then
 Sapi.speak "Good evening Geekmeister "
 else
 Sapi.speak "Good afternoon Geekmeister "
 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
Once you have copied this entire code exactly as it is, into notepad, go ahead and save it as “Startup greeting.vbs”. It can also be called anything you want, but for the purposes of this demonstration, it is easier if we’re all on the same page. Now that it has been saved, you can double click on the VBScript file to hear it greet you and tell you the time.
Talking Computer 11
If you want it to play when you turn on your computer, like Jarvis from Iron Man, simply select the file and drag it with your mouse down to the “Start button.” Without releasing your mouse move it onto “All Programs” then find the “Startup” folder and release your mouse button.
Talking Computer 12
If, for some reason this does not work for you, you can also manually navigate to the startup folder. You will first go to the folder where your “Startup greeting.vbs” is saved and copy it.
The next step is to type the following path into the top of any Explorer window and press “Enter”. You will just need to change USERNAME with the name you use for your computer account.
C:\Users\USERNAME\AppData\Roaming\Microsoft\
Windows\Start Menu\Programs\Startup
Once you are in the startup folder, just paste the vbs file and you are good to go. Now, the next time you start your computer and log in, it should automatically greet you and inform you of what time it is.
Talking Computer 13
If you had any trouble creating any of the scripts, they are all free to download by using these links.
  1. Geek Test
  2. Greeting
  3. Startup Greeting
  4. Telling Time
  5. Text to Speech