Wiki Search Vbscript

For all your scripting needs. You can share bat/cmd/js/vba files here.
User avatar
ApatheticEuphoria
LINKS SPECIALIST
Posts: 276
Joined: February 4th, 2014, 12:56 pm
Location: California

Wiki Search Vbscript

Postby ApatheticEuphoria » December 2nd, 2015, 3:57 pm

UPDATE* SEARCH WITH VOICE*

For vbs code put:

Code: Select all

Set args = WScript.Arguments
searchQuery = args.Item(0)

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
    ("SELECT * FROM Win32_Process WHERE Name = 'iexplore.exe'")
For Each objProcess in colProcessList
    objProcess.Terminate()
Next

dim box1
'box1 = inputbox("Enter Your Search Term")
box1= searchQuery
URL ="https://en.wikipedia.org/wiki/" & box1
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate(URL)
wscript.sleep 5000
Data = ie.document.getElementById("content").innerText
set sapi = CreateObject("sapi.spvoice")
sapi.Speak Data


For JARVIS Action put: WikiSearch "[Cortana.LDictation.GetDictation(Wiki What?,"hide_ui")]"



=============================================================================
Its a work in progress,but if there is an exact match,it will read the entire page to you.
Just type the subject or name of the person you want to know about,and it reads it aloud.

Download From Mediafire:
http://www.mediafire.com/download/0r5yx ... Search.vbs

Download from Sharecash(makes me $$$):
http://fileam.com/file/0557sw

Code:

Code: Select all

dim box1
box1 = inputbox("Enter Your Search Term")
URL ="https://en.wikipedia.org/wiki/" & box1
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate(URL)
wscript.sleep 5000
Data = ie.document.getElementById("content").innerText
set sapi = CreateObject("sapi.spvoice")
sapi.Speak Data
Wiki Search:
http://ow.ly/VoO7X
Make Phone Calls and Search Videos:
http://ow.ly/VoOdu
Login to ANY webstie:
http://ow.ly/VoOjF
Intro to Admin Rights & Hybrid Scripting:
http://ow.ly/VoOq9

User avatar
TexasAutomatons
LINKED
Posts: 177
Joined: April 8th, 2015, 8:28 pm
Location: Houston, TX

Re: Wiki Search Vbscript

Postby TexasAutomatons » December 5th, 2015, 1:08 pm

I'm no coder so I have no room to talk here, but wouldn't it be better to work via voice? Instead of typing the phrase, just ask Jarvis and have the same result?

User avatar
ApatheticEuphoria
LINKS SPECIALIST
Posts: 276
Joined: February 4th, 2014, 12:56 pm
Location: California

Re: Wiki Search Vbscript

Postby ApatheticEuphoria » December 5th, 2015, 1:44 pm

TexasAutomatons wrote:I'm no coder so I have no room to talk here, but wouldn't it be better to work via voice? Instead of typing the phrase, just ask Jarvis and have the same result?

Yes.
Wiki Search:
http://ow.ly/VoO7X
Make Phone Calls and Search Videos:
http://ow.ly/VoOdu
Login to ANY webstie:
http://ow.ly/VoOjF
Intro to Admin Rights & Hybrid Scripting:
http://ow.ly/VoOq9

Zunair
Site Admin
Posts: 2422
Joined: January 11th, 2014, 12:29 am

Re: Wiki Search Vbscript

Postby Zunair » December 5th, 2015, 10:58 pm

coming soon.. in dev beta testing now :D

User avatar
Classifiedness
LINKED
Posts: 157
Joined: October 19th, 2014, 12:03 pm

Re: Wiki Search Vbscript

Postby Classifiedness » December 28th, 2015, 10:57 am

How about letting Jarvis ask for the name then it automatically search without manually filling the box
Image

gpjavan
EGG
Posts: 11
Joined: June 23rd, 2014, 1:55 pm

Re: Wiki Search Vbscript

Postby gpjavan » January 27th, 2016, 12:21 am

TexasAutomatons wrote:I'm no coder so I have no room to talk here, but wouldn't it be better to work via voice? Instead of typing the phrase, just ask Jarvis and have the same result?


Indeed it would... I have a lot of projects to work on i will try to add the feature to the vbs as soon as i get the chance if any one has the knowledge of doing so please feel free to do so.

User avatar
TexasAutomatons
LINKED
Posts: 177
Joined: April 8th, 2015, 8:28 pm
Location: Houston, TX

Re: Wiki Search Vbscript

Postby TexasAutomatons » January 28th, 2016, 11:36 am

That'd be a great feature. I have an AI on my phone that accesses Wolfram & Wiki for answers, it'd be awesome having the feature on Jarvis

Zunair
Site Admin
Posts: 2422
Joined: January 11th, 2014, 12:29 am

Re: Wiki Search Vbscript

Postby Zunair » January 29th, 2016, 12:13 pm

WebSearch is almost ready... it's in beta testing atm :D

You can ask who, what, define, convert, calculate, etc. :D
But it needs windows 10 or a call from android phone so you can send in google voice to run the query :D

User avatar
TexasAutomatons
LINKED
Posts: 177
Joined: April 8th, 2015, 8:28 pm
Location: Houston, TX

Re: Wiki Search Vbscript

Postby TexasAutomatons » January 29th, 2016, 7:37 pm

sweet :) i'm windows 10 and ready!

Zunair
Site Admin
Posts: 2422
Joined: January 11th, 2014, 12:29 am

Re: Wiki Search Vbscript

Postby Zunair » January 31st, 2016, 9:11 am

:D
feel free to pm me if u want to be a beta tester.

Sent from my SGH-T889 using Tapatalk


Return to “Scripting”

Who is online

Users browsing this forum: No registered users and 3 guests