How to use J.A.R.V.I.S to access search engine sites
It took a lot of time for me to figure out a way to let people access the search engines as they like using my J.A.R.V.I.S . AT THE END I came up with an IDEA
If you need to access the search engine giant Google do as follows
<speechMacros>
<command>
<listenFor>search google [...]</listenFor>
<speak>as you wish sir</speak>
<run command="chrome.exe" params="http://www.google.com/search?q={[...]} ">
</command>
</speechMacros>
Note in addition of the [...]
THIS IS THE CATCH-KEY (or such) THAT THE WINDOWS SPEECH RECOGNITION MACROS SYSTEM USES TO PASS ALONG A VERBIAL VARIABLE THROUGH THEIR SYSTEM ( ★ am I starting to be nerdish? Please stay with me guys★)
SO FOR INSTANCE IF YOU WERE TO SAY "search google hacker4jarvis Basil", THE ABOVE COMMENT WOULD LOAD A BROWSER AND AUTOMATICALLY GO TO GOOGLE AND WOULD SHOW THE RESULTS.
COOL RIGHT?
But it happen to be that the person who is scripting the macro hates GOOGLE
I have a present for him
Ta daaaaa
I will tell you how to access yahoo with J.A.R.V.I.S
DO AS DIRECTED
<speechMacros>
<command>
<listenFor>search yahoo [...]</listenFor>
<speak>as you wish sir</speak>
<run command="chrome.exe" params ="http : / / search.yahoo.com/search?p ={[...]}">
</command>
</speechMacros>
Real life J.A.R.V.I.S by BASIL AZEEZ is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at www.hacker4jarvis.blogspot.com.
Permissions beyond the scope of this license may be available at permissionstopost
No comments:
Post a Comment