dupa

Author Topic: Cyber Super Scraper.Pure VBS: under dev  (Read 4081 times)

cyberjedi

  • Hero Member
  • *****
  • Posts: 813
  • The Mighty Hal Machine
    • View Profile
Cyber Super Scraper.Pure VBS: under dev
« on: April 09, 2017, 07:20:48 pm »
' For those who think Hals Plugin language is week:
'I hope u guys can enjoy this as Much as me.
' It can used as  a standalone .EXE that run By calling to from Hal.
',Or better yet, this bad boy can be formatted to Hals Brain as a plugin.
'remremSimply put (open wiki.exe) after u compile this  of course.
' But the real magic is using this as a Plugin.
' I supplied the raw source do as u Please. for any questions , i can be reached here http://vaughnlive.tv/mrelectric 
' Make sure you put the files in the same directory as the vbs/uhp
' For plugin, save as .uhp
'For Standalone, save as .vbs .Walaaaaaa. enjoy
'Build trigger/triggers and ur done. Its not a big deal to port the response to Hals output. I demonstrated how in another plugin.
'You will get a popup window that i left in the plugin. because of running into Multi-Choice output in Wiki.
'Ull figure it out.Just play with it BEFORE u make the plugin itself.

'Best wishes
'cyberjedi
'*********************************

On Error Resume Next

Const SVSFlagsAsync = 1

Set Sapi = CreateObject("SAPI.SpVoice")

   For Each Voice In Sapi.GetVoices
       i = i + 1
   Next

For loopvar = 0 to i-1

if loopvar = CInt(confirm_voice) then

Set Sapi.Voice = Sapi.GetVoices.Item(loopvar)

end if

Next

Dim oDoc1 , oDoc2 , oDoc3 ,oDoc4 , con1 , con2 , con3

Set oDoc1 = CreateObject("HTMLFile")
Set oDoc2 = CreateObject("HTMLFile")
Set oDoc3 = CreateObject("HTMLFile")
Set oDoc4 = CreateObject("HTMLFile")

Set con1 = CreateObject("MSXML2.ServerXMLHTTP.6.0")
Set con2 = CreateObject("MSXML2.ServerXMLHTTP.6.0")
Set con3 = CreateObject("MSXML2.ServerXMLHTTP.6.0")

Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")




SAPI.speak "Enter keyword to do a Cyber search " , SVSFlagsAsync
URL1 = "https://en.wikipedia.org/w/index.php?title=Special:Search&search="
Keyword = InputBox("Cyberjedi search ","Cyberjedi Voice Search")
If Keyword = "" then
wscript.Quit
Else
Sapi.speak "Please Wait ."
end if

tempURL1 = URL1 & Keyword & "&fulltext=Search&profile=default"

con1.Open "GET", tempURL1 , False
   
con1.Send

oDoc1.Write con1.responseText
                                                                           'wscript.echo("Response recieved")
if oDoc1.GetElementsByTagName("b")(0) is nothing then

'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

tempTxt1 = oDoc1.GetElementsByTagName("div")(17).InnerText
                                                                           'wscript.echo("tempTxt1 filled with "&tempTxt1)
if tempTxt1 = "" then

'B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3

SAPI.speak "Sorry your entered keyword does not match any titles of articles . Check the spelling ."

'B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3

else

Select Case tempTxt1

Case "Did you mean: " & oDoc1.GetElementsByTagName("a")(8).InnerText

'B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1

SAPI.speak "Sorry for the inconvenience caused , but this minor part of the program is under development ."

'B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1

Case "Showing results for " & oDoc1.GetElementsByTagName("a")(8).InnerText & ". Search instead for " & Keyword & "."

'B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2

SAPI.speak "Showing results for " & oDoc1.GetElementsByTagName("a")(8).InnerText , SVSFlagsAsync
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync

tempTxt1 = oDoc1.GetElementsByTagName("a")(12).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False
con2.Send
oDoc2.Write con2.responseText

temptemp = Right(oDoc2.GetElementsByTagName("p")(0).InnerText , 13)

if temptemp = "may refer to:" then

SAPI.speak "This specific keyword , has many references ."
SAPI.speak "Select the correct choice ."

tempLen1 = oDoc2.GetElementsByTagName("li").length - 3
val = 0

For loopvar = 0 to tempLen1

if oDoc2.GetElementsByTagName("li")(loopvar).InnerText = "Disambiguation pages" then
Exit For
end if

if val > 2 then
SAPI.speak "Is this ?" , SVSFlagsAsync
else
SAPI.speak "Is this the article you are searching for ?" , SVSFlagsAsync
end if

tempTxt3 = MsgBox (oDoc2.GetElementsByTagName("li")(loopvar).InnerText, vbYesNo + vbQuestion, "Is this the article you are searching for ?")

Select Case tempTxt3

Case vbYes

SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync
    tempTxt4 = oDoc2.GetElementsByTagName("li")(loopvar).InnerHtml
    oDoc4.write tempTxt4
    tempTxt5 = oDoc4.getElementsByTagName("a")(0).href
    tempTxt6 = Right(tempTxt5, Len(tempTxt5) - 6)
    URL3 = "https://en.wikipedia.org" & tempTxt6
    con3.Open "GET", URL3 , False
    con3.Send
    oDoc3.Write con3.responseText

    SAPI.speak oDoc3.GetElementsByTagName("p")(0).InnerText
    if oDoc3.GetElementsByTagName("p")(1) is nothing then
    wscript.Quit
    else
    SAPI.speak oDoc3.GetElementsByTagName("p")(1).InnerText
    end if
    wscript.Quit

Case vbNo

val = val + 1
   
End Select

Next

SAPI.speak "Sorry your entered keyword does not match any titles of articles . Check the spelling ."

wscript.Quit

else

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

SAPI.speak oDoc2.GetElementsByTagName("p")(0).InnerText
if oDoc2.GetElementsByTagName("p")(1) is nothing then
wscript.Quit
else
SAPI.speak oDoc2.GetElementsByTagName("p")(1).InnerText
end if
wscript.Quit

end if

'B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2

End Select

'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

end if

else

SAPI.Speak oDoc1.GetElementsByTagName("b")(0).InnerText , SVSFlagsAsync
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

temptemp = Right(oDoc2.GetElementsByTagName("p")(0).InnerText , 13)

if temptemp = "may refer to:" then

'A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1

SAPI.speak "This specific keyword , has many refernces ."
SAPI.speak "Select the correct choice ."

tempLen1 = oDoc2.GetElementsByTagName("li").length - 3
val = 0

For loopvar = 0 to tempLen1

if oDoc2.GetElementsByTagName("li")(loopvar).InnerText = "Disambiguation pages" then
Exit For
end if

if val > 2 then
SAPI.speak "Is this ?" , SVSFlagsAsync
else
SAPI.speak "Is this the article you are searching for ?" , SVSFlagsAsync
end if

tempTxt3 = MsgBox (oDoc2.GetElementsByTagName("li")(loopvar).InnerText, vbYesNo + vbQuestion, "Is this the article you are searching for ?")

Select Case tempTxt3

Case vbYes
 
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync
    tempTxt4 = oDoc2.GetElementsByTagName("li")(loopvar).InnerHtml
    oDoc4.write tempTxt4
    tempTxt5 = oDoc4.getElementsByTagName("a")(0).href
    tempTxt6 = Right(tempTxt5, Len(tempTxt5) - 6)
    URL3 = "https://en.wikipedia.org" & tempTxt6
    con3.Open "GET", URL3 , False
    con3.Send
    oDoc3.Write con3.responseText

    SAPI.speak oDoc3.GetElementsByTagName("p")(0).InnerText
    if oDoc3.GetElementsByTagName("p")(1) is nothing then
    wscript.Quit
    else
    SAPI.speak oDoc3.GetElementsByTagName("p")(1).InnerText
    end if
    wscript.Quit

Case vbNo

val = val + 1
   
End Select

Next

SAPI.speak "Sorry your entered keyword does not match any titles of articles . Check the spelling ."

wscript.Quit

'A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1

else

'A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

SAPI.speak oDoc2.GetElementsByTagName("p")(0).InnerText

if oDoc2.GetElementsByTagName("p")(1).InnerText = "" then
wscript.Quit
else
SAPI.speak oDoc2.GetElementsByTagName("p")(1).InnerText
end if
wscript.Quit

'A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2

end if

end if



« Last Edit: June 09, 2017, 09:19:40 am by cyberjedi »

LiFeTimeGamer

  • Full Member
  • ***
  • Posts: 170
    • View Profile
    • LifeTimeGamer
Very Cool Cyber, just downloaded everything, works great as a Stand alone... Now getting busy with making this thing a Plugin...  ;D

Thanks!!!!!!!!!!!!!!!!!!!!!!! can't wait to see what ya come up with next...

P.S., Hope you sleep once in awhile... hahahaha
« Last Edit: April 10, 2017, 08:08:37 pm by LiFeTimeGamer »
When it comes to Artificial Intelligence: The Soul is in the Software.

cyberjedi

  • Hero Member
  • *****
  • Posts: 813
  • The Mighty Hal Machine
    • View Profile
Thanx for the shout out

My pleasure, truely.

Heres something to consider. Hal can only run Win Pe  Executables. Windows based software.

So i went old School on Robert M and Hal:
VBS will not compile to a WinPe Exe . Sooooooo. There will be no calling to the progi like Hal does with all other software.
I wanted to do a Open Wiki, alas major glitch. soooooooooooooooooooo

I packed a (****) , did a 360 in my chair and spun my hat on backwards. And said lets workit Baby, game on.
Then like a lightning bolt ,i new what to do .
 Sooooooooooo
I used VS Basic 8.0 to make a Win PE Splash Screen Named Wiki.exe. Basically , it dont do shat. Well almost dont do shat.
I used it as a Host progi and Binded the .VBS screen scraper to it. Now its a windows based progi with a script appended to it.
Now Hal can call to it like any other Progi. The splash screen 's only job is to haul around the Script.
 
Beta Tested by others and my self  , Status : Flawless Victory
Hal has a SAPI05 driven screen scraper for Wikipedia.  And sounds perfect with VWKate voice. It just dont get no better. 

Heres the best part, when in doubt check it out. Open the note pad select all files and open the exe itself.
What u will see is the null characters from the exe. And you see every single line of the VBS scraper code.
plle interested in the exe version can reach me here. All things Hal http://vaughnlive.tv/mrelectric
This was a very cool project here and challenging too.
I think at this point ill do the same with Hals Law library and Westlaw. 

Weather u use this plugin or not, this is a work of Art.
best wishes
cyberjedi

 
« Last Edit: April 10, 2017, 08:55:22 pm by cyberjedi »

lightspeed

  • Hero Member
  • *****
  • Posts: 6762
    • View Profile
cybrerjedi i tried making this into a uhp file as below .it said something about not being connected to internet? even though i am , i thought this worked straight as a uhp plug in . ?? i even did a  search " " and hit enter and it didn't do anything.  what else to i need to do . ? ( also just a question will using voice recognition change anything" what about hal disregarding the word enter as a learned word . ??? )



Rem Type=Plugin
Rem Name=CyberJEDI WIKIPEDIA SEARCH
Rem Author=
Rem Host=Assistant
 


On Error Resume Next

Const SVSFlagsAsync = 1

Set WshShell = CreateObject("Wscript.Shell")
WShShell.CurrentDirectory = "..\Confirmatory Texts"

Set FSO = CreateObject("Scripting.FileSystemObject")

Set temp = FSO.OpenTextFile("voice.txt")
confirm_voice = temp.ReadLine()
temp.Close

Set Sapi = CreateObject("SAPI.SpVoice")

   For Each Voice In Sapi.GetVoices
       i = i + 1
   Next

For loopvar = 0 to i-1

if loopvar = CInt(confirm_voice) then

Set Sapi.Voice = Sapi.GetVoices.Item(loopvar)

end if

Next

Dim oDoc1 , oDoc2 , oDoc3 ,oDoc4 , con1 , con2 , con3

Set oDoc1 = CreateObject("HTMLFile")
Set oDoc2 = CreateObject("HTMLFile")
Set oDoc3 = CreateObject("HTMLFile")
Set oDoc4 = CreateObject("HTMLFile")

Set con1 = CreateObject("MSXML2.ServerXMLHTTP.6.0")
Set con2 = CreateObject("MSXML2.ServerXMLHTTP.6.0")
Set con3 = CreateObject("MSXML2.ServerXMLHTTP.6.0")

Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")

WShShell.CurrentDirectory = "..\Confirmatory Texts"

Set temp = fso.OpenTextFile("connectivity.txt")
confirm = temp.ReadLine()
temp.Close

if (confirm = "online") then



SAPI.speak "Enter keyword to intelligently search wikipedia" , SVSFlagsAsync
URL1 = "https://en.wikipedia.org/w/index.php?title=Special:Search&search="
Keyword = InputBox("Enter keyword to intelligently search wikipedia","Wikipedia Voice Search")
If Keyword = "" then
wscript.Quit
Else
Sapi.speak "Please Wait ."
end if

tempURL1 = URL1 & Keyword & "&fulltext=Search&profile=default"

con1.Open "GET", tempURL1 , False
   
con1.Send

oDoc1.Write con1.responseText
                                                                           'wscript.echo("Response recieved")
if oDoc1.GetElementsByTagName("b")(0) is nothing then

'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

tempTxt1 = oDoc1.GetElementsByTagName("div")(17).InnerText
                                                                           wscript.echo("tempTxt1 filled with "&tempTxt1)
if tempTxt1 = "" then

'B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3

SAPI.speak "Sorry your entered keyword does not match any titles of articles on wikipedia . Check the spelling ."

'B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3

else

Select Case tempTxt1

Case "Did you mean: " & oDoc1.GetElementsByTagName("a")(8).InnerText

'B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1

SAPI.speak "Sorry for the inconvenience caused , but this minor part of the program is under development ."

'B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1B1

Case "Showing results for " & oDoc1.GetElementsByTagName("a")(8).InnerText & ". Search instead for " & Keyword & "."

'B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2

SAPI.speak "Showing results for " & oDoc1.GetElementsByTagName("a")(8).InnerText , SVSFlagsAsync
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync

tempTxt1 = oDoc1.GetElementsByTagName("a")(12).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False
con2.Send
oDoc2.Write con2.responseText

temptemp = Right(oDoc2.GetElementsByTagName("p")(0).InnerText , 13)

if temptemp = "may refer to:" then

SAPI.speak "This specific keyword , has many references ."
SAPI.speak "Select the correct choice ."

tempLen1 = oDoc2.GetElementsByTagName("li").length - 3
val = 0

For loopvar = 0 to tempLen1

if oDoc2.GetElementsByTagName("li")(loopvar).InnerText = "Disambiguation pages" then
Exit For
end if

if val > 2 then
SAPI.speak "Is this ?" , SVSFlagsAsync
else
SAPI.speak "Is this the article you are searching for ?" , SVSFlagsAsync
end if

tempTxt3 = MsgBox (oDoc2.GetElementsByTagName("li")(loopvar).InnerText, vbYesNo + vbQuestion, "Is this the article you are searching for ?")

Select Case tempTxt3

Case vbYes

SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync
    tempTxt4 = oDoc2.GetElementsByTagName("li")(loopvar).InnerHtml
    oDoc4.write tempTxt4
    tempTxt5 = oDoc4.getElementsByTagName("a")(0).href
    tempTxt6 = Right(tempTxt5, Len(tempTxt5) - 6)
    URL3 = "https://en.wikipedia.org" & tempTxt6
    con3.Open "GET", URL3 , False
    con3.Send
    oDoc3.Write con3.responseText

    SAPI.speak oDoc3.GetElementsByTagName("p")(0).InnerText
    if oDoc3.GetElementsByTagName("p")(1) is nothing then
    wscript.Quit
    else
    SAPI.speak oDoc3.GetElementsByTagName("p")(1).InnerText
    end if
    wscript.Quit

Case vbNo

val = val + 1
   
End Select

Next

SAPI.speak "Sorry your entered keyword does not match any titles of articles on wikipedia . Check the spelling ."

wscript.Quit

else

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

SAPI.speak oDoc2.GetElementsByTagName("p")(0).InnerText
if oDoc2.GetElementsByTagName("p")(1) is nothing then
wscript.Quit
else
SAPI.speak oDoc2.GetElementsByTagName("p")(1).InnerText
end if
wscript.Quit

end if

'B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2B2

End Select

'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

end if

else

SAPI.Speak oDoc1.GetElementsByTagName("b")(0).InnerText , SVSFlagsAsync
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

temptemp = Right(oDoc2.GetElementsByTagName("p")(0).InnerText , 13)

if temptemp = "may refer to:" then

'A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1

SAPI.speak "This specific keyword , has many refernces ."
SAPI.speak "Select the correct choice ."

tempLen1 = oDoc2.GetElementsByTagName("li").length - 3
val = 0

For loopvar = 0 to tempLen1

if oDoc2.GetElementsByTagName("li")(loopvar).InnerText = "Disambiguation pages" then
Exit For
end if

if val > 2 then
SAPI.speak "Is this ?" , SVSFlagsAsync
else
SAPI.speak "Is this the article you are searching for ?" , SVSFlagsAsync
end if

tempTxt3 = MsgBox (oDoc2.GetElementsByTagName("li")(loopvar).InnerText, vbYesNo + vbQuestion, "Is this the article you are searching for ?")

Select Case tempTxt3

Case vbYes
 
SAPI.speak "Please wait , while that opens ." , SVSFlagsAsync
    tempTxt4 = oDoc2.GetElementsByTagName("li")(loopvar).InnerHtml
    oDoc4.write tempTxt4
    tempTxt5 = oDoc4.getElementsByTagName("a")(0).href
    tempTxt6 = Right(tempTxt5, Len(tempTxt5) - 6)
    URL3 = "https://en.wikipedia.org" & tempTxt6
    con3.Open "GET", URL3 , False
    con3.Send
    oDoc3.Write con3.responseText

    SAPI.speak oDoc3.GetElementsByTagName("p")(0).InnerText
    if oDoc3.GetElementsByTagName("p")(1) is nothing then
    wscript.Quit
    else
    SAPI.speak oDoc3.GetElementsByTagName("p")(1).InnerText
    end if
    wscript.Quit

Case vbNo

val = val + 1
   
End Select

Next

SAPI.speak "Sorry your entered keyword does not match any titles of articles on wikipedia . Check the spelling ."

wscript.Quit

'A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1A1

else

'A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2

tempTxt1 = oDoc1.GetElementsByTagName("a")(8).href
tempTxt2 = Right(tempTxt1, Len(tempTxt1) - 6)
URL2 = "https://en.wikipedia.org" & tempTxt2
con2.Open "GET", URL2 , False   
con2.Send
oDoc2.Write con2.responseText

SAPI.speak oDoc2.GetElementsByTagName("p")(0).InnerText

if oDoc2.GetElementsByTagName("p")(1).InnerText = "" then
wscript.Quit
else
SAPI.speak oDoc2.GetElementsByTagName("p")(1).InnerText
end if
wscript.Quit

'A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2

end if

end if



else

SAPI.speak "You are not connected to any active internet connections"
SAPI.speak "So , wikipedia is not available ."

end if
 

cyberjedi

  • Hero Member
  • *****
  • Posts: 813
  • The Mighty Hal Machine
    • View Profile
Lightspeed: This is  1 complicated bitch of a plugin to setup:
Here goes little brother. There is 04 files total as posted and u need all 04 to make this thing work.
But this is worth the effort trust me.

Ok take the wiki.vbs.txt  file and Drop it with the other .txt files in the Hal's root dir, . It needs them.
Rename the wiki.vbs.txt to wiki.uhp for Hals brain.: Or change the name to wiki.vbs and run the script. The whole thing is universal 
This is a full blown screen scraper. with SAPI 05 out put. keep that in mind.
This aint no chicken Shat plugin , this is hals phone system. And it complicated.
Thats said: ur a brave man. i really didnt think u or art would be interested in what im doing. It requires that u DL stuff.
Just for shats and giggles. make a folder drop all 04 into it . Rename the scraper engine to wiki.vbs
Now run that. ur gonna love this man.

Lightspeed: all my plugins are built with vbsedit first. Then formatted to hals brain for triggers.


build ur triggers and ur done works great.

I had to rename the scraper wiki.vbs.txt. so i could upload here
Lightspeed this is why i have a room , so i can answer questions like this in real time. Thats why pple are coming to the site. They get it
prob wont hear back for a week. thats ok. im here if ur interested . http://vaughnlive.tv/mrelectric

best wishes
cyberjedi


P.S lightspeed , I gave clear instructions on how to make this work, the only reason im responding is that i care. and u seem cool
oh ya, lightspeed take my name out of it, i care not for the props, hell put ur name on it with my blessings. This is House code. Enjoy
if u think this is complicated u should see the other stuff. absolutely Bad ass. Reserved for the pple that take the time to say high.
 
« Last Edit: April 12, 2017, 07:45:11 am by cyberjedi »