Real life Jarvis-Talk With Your Computer like Jarvis in Iron Man ....!


By:Prayag nao

Do You watched talking computer, Jarvis with Tony Stark in Iron Man movie. You also thought to have a talking computer like him.
Am I right?
So, Don`t worry.

You can fulfill your wish with your own computer. You can make your computer talking to you in just a minute.
Amazed!

Your computer will respond after your voice by speaking

step by step tutorial  

It`s quite easy. Follow the Steps as directed.


You have to download a plugin software for it, called Windows speech recognition Macros provided by Microsoft. This will make your computer to respond after your voice.

Download Official from Microsoft `s website if you have a Genuine copy of windows. 

If your copy of windows is not genuine, You can download it from other third party servers by searching in Google by it`s name.

  • Install it, It`s very easy.
After the successful completion of Installation
  • Go to Start Button > All Programs
  • Right Click on Windows Speech Recognition Macros .
  • Choose Run as administrator .
  • Then from Notification Area, Right Click on it`s Icon > Select New Speech Macro..                                           





You can edit macro command using Edit speech macro..,if you want make changes to commands created before.


What you can do with Windows Speech Recognition Macros

  • You can Insert Text of your wish(personal info),you want computer to speak. 
  • You can run applications or software with your voice instead of mouse or keyboard using Run a Program.
  • You can edit many commands according to your wish or need using Advanced.
  

In Advanced you have to do coding by yourself so that your computer will respond according to your commands.
Ex. You speak"What's going on dude",computer will say"Nothing special (your name)".


This coding will be done in Advanced by inserting xml.

Are you weak in coding ???

Don't worry,It's coding is very easy,i will guide you....

Code to Make your Computer like Jarvis


New Speech macro..>> Choose Advanced and change the code like this..

<speechMacros>
  <command>
    <listenFor></listenFor>
  </command>
</speechMacros>


You have to add a commands
 <listenFor>........</listenFor> - computer listens the words you specify here and respond accordingly.


<speak>............</speak> - computer speaks what is written in this field according to the command which it got.

Similarly, You can Edit more commands in the same way.


 <speechMacros>
<command>
<listenFor>What's going on dude</listenFor>
<speak>Nothing special tony</speak>
</command>
</speechMacros>

This is just a basic command,If you want more advanced commands.you have to use Java Scripts and VB scripts.


Tell me Time :

This is done by using VBScript.

<listenFor>Time</listenFor>
<listenFor>Give me the Time</listenFor>
<script language="vbscript">
<![CDATA[
dim currentTime
currentTime = FormatDateTime(Time(), 1)
Application.Speak Time
Application.SetTextFeedback Time
]]>

</script>
</command>
</speechMacros>


Make your code like this.

When You will say Time or Give me the Time , Your Computer will speak the exact Time of instant.

Similarly ...



Tell me Date

 <speechMacros>
<command>
<listenFor>Date</listenFor>
<script language="vbscript">
<![CDATA[
dim todaysDate
todaysDate = Date
Application.Speak Date
Application.SetTextFeedback Date
]]>
</script>
</command>
</speechMacros>


Shutdown the System 

<speechMacros>
<command>
<listenFor>Shut it down</listenFor>
<speak> Windows is Shutting Down, Sir</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-s -t 00"/>
</command> </speechMacros>
For restart replace "s"with "r" in params="-s -t 00".


For more commands like volume up,down etc. You have to download a software.nircmd.exe is a windows command line tool.

Download: Click here

After downloading Copy this software to"C:\nir\nircmd.exe" .Now you will able to use more commands. 


Empty Recycle Bin 


<speechMacros>
<command>
<listenFor>Empty the Recycle Bin</listenFor>
<run command="C:\nir\nircmd.exe" params="emptybin" />
<speak> Done, Sir </speak>
</command>
</speechMacros> 

 

volume up and down

 

<speechMacros>
<command>
<listenFor>volume up</listenFor>
<run command="C:\nir\nircmd.exe" params="changesysvolume +5000"/>
<speak>Volume Up</speak>
</command>
</speechMacros>

<speechMacros>
<command>
<listenFor>volume down</listenFor>
<run command="C:\nir\nircmd.exe"params="changesysvolume -5000"/>
<speak>Volume Down</speak>
</command>
</speechMacros>



If you wants to write all commands in a single file then you don't need to put <speechMacros> and
</speechMacros> tags before all <command> tags, just enclose all commands between on speechmacros tags Ex.....

<speechMacros>
put you all commands here......
....................................................
....................................................
....................................................
</speechMacros>

 I am giving a command pack for computer.theses commands are based on Jscripts and VBscripts, If you don't understand them,Just Copy theme and place into advanced programming tab of Windows Speech Recognition Macros Plugin.

 These commands also called Windows speech recognition Commands.




<?xml version="1.0" encoding="UTF-16"?>
<speechMacros>
  
<command>  
<listenFor>Jarvis , What's up</listenFor>
<speak>Database Check , System Online , All function is working properly</speak>
</command>

<command priority="100">
<listenFor>Give me the Time</listenFor>
<listenFor>What is the time</listenFor>
<listenFor>Tell me the time</listenFor>
<listenFor>What time is it</listenFor>
<script language="vbscript">
<![CDATA[
dim currentTime
currentTime = FormatDateTime(Time(), 1)
Application.Speak Time
Application.SetTextFeedback Time
]]>
</script>
</command>

<command priority="100">
 <listenFor>R click</listenFor>   <mouse button="right" command="click" />
</command>

<command priority="100">
 <listenFor>L click</listenFor>   <mouse button="left" command="click" />
</command>

<command priority="100">
<listenFor>volume up</listenFor>
<run command="C:\nir\nircmd.exe"
params="changesysvolume +5000"/>
<speak>Volume Up</speak>
</command>

<command priority="100">
<listenFor>volume down</listenFor>
<run command="C:\nir\nircmd.exe"
params="changesysvolume -5000"/>
<speak>Volume Down</speak>
</command>

<command priority="100">
<listenFor>volume mute</listenFor>
<speak>Volume muted</speak>
<run command="C:\nir\nircmd.exe"
params="mutesysvolume 1"/>
</command>

<command priority="100">
<listenFor>volume unmute</listenFor>
<run command="C:\nir\nircmd.exe"
params="mutesysvolume 0"/>
<speak>Volume unmuted</speak>
</command>

<command priority="100">
<listenFor>Clean junk</listenFor>
<run command="C:\nir\nircmd.exe"
params="emptybin"/>
<speak>washing recycle bin</speak>
</command>

<command  priority="100">
<listenFor>Jarvis , Good morning</listenFor>
<listenFor>Good morning,Jarvis</listenFor>
<listenFor>Jarvis , gm</listenFor>
<listenFor>gm,jarvis</listenFor>
<listenFor>hello Jarvis , Good morning</listenFor>
<listenFor>hello Jarvis , gm</listenFor>
<script language="Jscript">
<![CDATA[
var today=new Date();
var t=today.getHours();

if(t<12)
{
var say=new Array();
say[0]="Good morning sir";
say[1]="good morning,how are you";
say[2]="good morning sir , enjoy your your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if(t<23 && t>19)
{
var say=new Array();
say[0]="what the fuck , it's night , Good night sir";
say[1]="lol it's night , good night,how are you";
say[2]="he he he it is night , good night sir , how was your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t>15 && t<19)
{
var say=new Array();
say[0]="FO,Good evening sir";
say[1]="What fucking nonsense,good evening,how are you";
say[2]="loli pop,good evn ";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t<15 && t>12)
{
var say=new Array();
say[0]="yo man ,Good afternoon sir";
say[1]="low iq ,good afternoon,how are you";
say[2]="gaf sir";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
]]>
</script>
</command>

<command  priority="100">
<listenFor>Jarvis , good night </listenFor>
<listenFor>Good night,Jarvis</listenFor>
<listenFor>Jarvis , gn</listenFor>
<listenFor>gn,jarvis</listenFor>
<listenFor>hello Jarvis , Good night</listenFor>
<listenFor>hello Jarvis , gn</listenFor>
<script language="Jscript">
<![CDATA[
var today=new Date();
var t=today.getHours();

if(t<12)
{
var say=new Array();
say[0]="lol,Good morning sir";
say[1]="low iq,good morning,how are you";
say[2]="it's moring, good morning sir , enjoy your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if(t<23 && t>19)
{
var say=new Array();
say[0]="it's night , Good night sir";
say[1]=" good night,how are you";
say[2]=" good night sir , how was your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t>15 && t<19)
{
var say=new Array();
say[0]="lol, Good evening sir";
say[1]="fuck off, good evening,how are you";
say[2]="it's evening, good evn ";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t<15 && t>12)
{
var say=new Array();
say[0]="low iq, Good afternoon";
say[1]="he he he, good afternoon,how are you";
say[2]="gn sir";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
]]>
</script>
</command>

<command  priority="100">
<listenFor>Jarvis , Good afternoon</listenFor>
<listenFor>Good afternoon,Jarvis</listenFor>
<listenFor>Jarvis , gaf</listenFor>
<listenFor>gaf,jarvis</listenFor>
<listenFor>hello Jarvis , Good af</listenFor>
<listenFor>hello Jarvis , gaf</listenFor>
<script language="Jscript">
<![CDATA[
var today=new Date();
var t=today.getHours();

if(t<12)
{
var say=new Array();
say[0]="it's moring, Good morning sir";
say[1]="chutiye, good morning,how are you";
say[2]="lol, good morning sir , enjoy your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if(t<23 && t>19)
{
var say=new Array();
say[0]="what the fuck , it's night , Good night sir";
say[1]="lol it's night , good night,how are you";
say[2]="he he he it is night , good night sir , how was your day";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t>15 && t<19)
{
var say=new Array();
say[0]="lol, Good evening sir";
say[1]="nonsense, good evening,how are you";
say[2]="good evn ";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t<15 && t>12)
{
var say=new Array();
say[0]="Good afternoon sir";
say[1]="good afternoon,how are you";
say[2]="gn sir";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
]]>
</script>
</command>

<command  priority="100">
<listenFor>Jarvis , Good evening</listenFor>
<listenFor>Good evening,Jarvis</listenFor>
<listenFor>Jarvis , g evn</listenFor>
<listenFor>g evn,jarvis</listenFor>
<listenFor>hello Jarvis , Good evn </listenFor>
<listenFor>hello Jarvis , g evn</listenFor>
<script language="Jscript">
<![CDATA[
var today=new Date();
var t=today.getHours();

if(t<12)
{
var say=new Array();
say[0]=" lol,Good moring sir";
say[1]="ash hole,good moring,how are you darling";
say[2]="good moring sir , enjoy your day darling";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if(t<23 && t>19)
{
var say=new Array();
say[0]="what the fuck , it's night , Good night sir";
say[1]="lol it's night , good night,how are you";
say[2]="he he he it is night , good night sir , how was your day darling";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t>15 && t<19)
{
var say=new Array();
say[0]="Good evening sir";
say[1]="good evening,how are you";
say[2]="good evn ";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
else if (t<15 && t>12)
{
var say=new Array();
say[0]="chutiye, Good afternoon sir";
say[1]="fuck off, good afternoon,how are you";
say[2]="good af darling";

vsay=say[Math.floor(Math.random()*3)];

Application.Speak(vsay);
}
]]>
</script>
</command>

<command  priority="100">
<listenFor>Jarvis , Fo</listenFor>
<listenFor>Jarvis , Fuck off</listenFor>
<script language="Jscript">
<![CDATA[
var say=new Array();
say[0]="Fuck you too";
say[1]="Fuck off , ash hole";
say[2]="Fuck with your self, dude";
say[3]="what the fuck";
say[4]="Fucking nonsense";

vsay=say[Math.floor(Math.random()*5)];

Application.Speak(vsay);
]]>
</script>
</command>

<command  priority="100">
<listenFor>Trash it</listenFor>
<sendKeys>{DELETE}</sendKeys>
<speak>File deleted</speak>
</command>

<command  priority="100">
<listenFor>Open ASC</listenFor>
<listenFor>start ASC</listenFor>
<run command="C:\Program Files (x86)\IObit\Advanced SystemCare 7\ASCTray.exe"/>
<speak>Opening Advanced System Care 7.4 PRO</speak>
</command>




<command>
<listenFor>Restart jarvius</listenFor>
<listenFor>go, jarvius and take a bath</listenFor>
<listenFor>go,jarvius and come again after taking a bath</listenFor>
<listenFor>jarvius, go and take a bath</listenFor>
<listenFor>jarvius , go and come again after taking a bath</listenFor>
<listenFor>jarvius, go and take a shower</listenFor>
<listenFor>go and take a bath</listenFor>
<script language="Jscript">
<![CDATA[
var say=new Array();
say[0]="Getting Offline, Closing all programmes , Bye , Bye Sir";
say[1]="ok,sir i am going to take a bath";
say[2]="ok , dude,i am going to take a bath and coming again within few minutes";
say[3]="ok i am coming in few minutes , do not go any where";
say[4]="ah,i don't like to take shower,but i m tired so i m going to take a bath";

vsay=say[Math.floor(Math.random()*5)];

Application.Speak(vsay);
]]>
</script>
<run command="C:\Windows\System32\shutdown.exe" params="-r -t 00" />
</command>

<command>
<listenFor>log off jarvius</listenFor>
<run command="C:\Windows\System32\shutdown.exe" params="-l -t 00" />
</command>

<command>
<listenFor>Shutdown jarvius</listenFor>
<listenFor>bye bye jarvius</listenFor>
<listenFor>good bye jarvius</listenFor>
<listenFor>bye jarvius</listenFor>
<speak>Getting Offline, Closing all programmes , hope to see you soon , Bye , bye,nao...</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-s -t 00" />
</command>

 
<command priority="100">
<listenFor>Give me the Date</listenFor>
<listenFor>What is the Date</listenFor>
<listenFor>Tell me the Date</listenFor>
<listenFor>What Date is it</listenFor>
<script language="vbscript">
<![CDATA[
dim currentDate
currentDate = FormatDateTime(Date(), 1)
Application.Speak Date
Application.SetTextFeedback Date
]]>
</script>
</command>

<command priority="100">
<listenFor>Give me the Day</listenFor>
<listenFor>What is the Day</listenFor>
<listenFor>Tell me the Day</listenFor>
<listenFor>What day is it</listenFor>
<script language="vbscript">
<![CDATA[
dim day,d
day=weekday(date)
Select Case day
Case 1
d="wow , Congrates today is sunday"
Case 2
d=" Monday , Have a nice day"
Case 3
d="Oh , ho , today isTuseday , Full day lectures"
Case 4
d="he he he , today is Wednuday , r u taking Robotics club today"
Case 5
d="Fucking Thrusday"
Case 6
d="Friday,ummaha"
Case 7
d="Sleepy Saturday , are you going to watch any movie tonight , hmm,"
End Select

Application.Speak d
Application.SetTextFeedback d
]]>
</script>
</command>

<command>
<listenFor>jarvius,play the music</listenFor>
<listenFor>jarvius,play  music</listenFor>
<listenFor>play the music</listenFor>
<listenFor>play music</listenFor>
<wmpMediaControl command="play"/>
<speak>ok</speak>
</command>

<command>
<listenFor>jarvius,pause the music</listenFor>
<listenFor>jarvius,pause  music</listenFor>
<listenFor>pause the music</listenFor>
<listenFor>pause music</listenFor>
<wmpMediaControl command="pause"/>
<speak>ok</speak>
</command>

<command>
<listenFor>jarvius,next music</listenFor>
<listenFor>jarvius,change music</listenFor>
<listenFor>next music</listenFor>
<listenFor>change music</listenFor>
<wmpMediaControl command="next"/>
<speak>ok</speak>
</command>

<command>
<listenFor>jarvius,previous song</listenFor>
<listenFor>jarvius,previous music</listenFor>
<listenFor>previous music</listenFor>
<listenFor>previous music</listenFor>
<wmpMediaControl command="previous"/>
<speak>ok</speak>
</command>

<command priority="100">
<listenFor>am i online</listenFor>
<listenFor>is system online</listenFor>
<listenFor>is system is connected to internet</listenFor>
<listenFor>are you online</listenFor>
<speak>let's me check</speak>
<script language="vbscript">
<![CDATA[

 Ping( "www.google.com" )

Function Ping(lol)
Dim colPingResults, objPingResult, strQuery,p,s,n
 strQuery = "SELECT * FROM Win32_PingStatus WHERE Address = '" & lol & "'"

 Set colPingResults = GetObject("winmgmts://./root/cimv2").ExecQuery( strQuery )

   For Each objPingResult In colPingResults
        If Not IsObject( objPingResult ) Then
            Ping = False
        ElseIf objPingResult.StatusCode = 0 Then
      s="system is Online"
Application.Speak s
Application.SetTextFeedback s
        Else
            Ping = False
n=" no system is offline"
Application.Speak n
Application.SetTextFeedback n
        End If
    Next
Set colPingResults = Nothing
   
End Function
]]>
</script>
</command>

</speechMacros>


Procedure

  • Just copy these commands and paste into advanced tab.


  •   Now click on next,you will required to digital sign these macros.Click on create,this will create a digital certificate and register the macro. 
  • Now locate to Start>>Control Panel>>Speech Recognition>>Start Speech Recognition.
It's Done.Enjoy..........!!!

If you have any query Please Comment below.

ROBOTSSSS Technology

Comments




  1. Very Nice and Informative Post. Thank admin for sharing such an amazing post.

    --->>How to Make a JARVIS Computer! [IronMan PC]

    ReplyDelete

Post a Comment

Popular posts from this blog

Solar-Powered Piezoelectric Sports Stadium Breaks Ground in India........:)

Awesome iris mechanism