欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來到入門教程網(wǎng)!

vb

當(dāng)前位置:主頁 > 軟件編程 > vb >

vbs 百度小助手

來源:本站原創(chuàng)|時間:2020-01-10|欄目:vb|點擊: 次

運行它直接選擇:
1.我要回答;2.歌曲搜索;3,新聞搜索;4.網(wǎng)頁搜索;5.貼吧搜索;6.知道搜索;7.圖片搜索;8.視頻搜索;9;百科搜索;
然后輸入需要搜索的內(nèi)容即可直接自動打開轉(zhuǎn)到指定網(wǎng)址自動進行搜索.

復(fù)制代碼 代碼如下:

xz=InputBox("1.我要回答;2.歌曲搜索;3,新聞搜索;" & Chr(13) & "4.網(wǎng)頁搜索;5.貼吧搜索;6.知道搜索;" & Chr(13) & "7.圖片搜索;8.視頻搜索;9;百科搜索;","百度小助手 [Null_vbt]","")
If Len(xz)=0 Then
MsgBox "沒有選擇,腳本退出!",64,"錯誤"
WScript.Quit
else
Select Case xz
Case 1
x=Urlcode(InputBox("請輸入要回答的問題","百度我要回答",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://zhidao.baidu.com/q?word=" & x & "&ct=17&pn=0&tn=ikaslist&rn=10&lm=65536&fr=answersearch_0"
End if
Case 2
x=Urlcode(InputBox("請輸入要搜索的歌曲名","百度歌曲搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
Else
strurl="http://mp3.baidu.com/m?f=ms&tn=baidump3&ct=134217728&lf=&rn=&word=" & x & "&lm=-1"
End if
Case 3
x=Urlcode(InputBox("請輸入要搜索的新聞標(biāo)題","百度新聞搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://news.baidu.com/ns?cl=2&rn=20&tn=news&word=" & x & "&t=1"
End if
Case 4
x=Urlcode(InputBox("請輸入要搜索的內(nèi)容","百度網(wǎng)頁搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://www.baidu.com/s?cl=3&wd=" & x
End if
Case 5
x=Urlcode(InputBox("請輸入要搜索的貼子標(biāo)題","百度貼吧搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://tieba.baidu.com/f?kw=" & x
End if
Case 6
x=InputBox("請輸入要搜索的知道標(biāo)題","百度知道搜索","")
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikaslist&rn=10&word=" & x
End if
Case 7
x=Urlcode(InputBox("請輸入要搜索的圖片標(biāo)題","百度圖片搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://image.baidu.com/i?tn=baiduimage&ct=201326592&lm=-1&cl=2&word=" & x & "&t=3"
End if
Case 8
x=Urlcode(InputBox("請輸入要搜索的視頻標(biāo)題","百度視頻搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://video.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=7&word=" & x
End if
Case 9
x=Urlcode(InputBox("請輸入要搜索的百科標(biāo)題","百度百科搜索",""))
If Len(x)=0 Then
MsgBox "沒有檢測到內(nèi)容,腳本退出!",64,"錯誤"
WScript.Quit
else
strurl="http://baike.baidu.com/w?ct=17&lm=0&tn=baiduWikiSearch&pn=0&rn=10&word=" & x
End if
End Select
End if
Set objIe = CreateObject("InternetExplorer.Application")
objie.visible=true
objIe.Navigate strUrl
function Urlcode(InpStr)
Dim InpAsc,I
For I = 1 To Len(InpStr)
InpAsc = Asc(Mid(InpStr, I, 1))
If ((InpAsc < 58) And (InpAsc > 47)) Or ((InpAsc < 91) And (InpAsc > 64)) Or ((InpAsc < 123) And (InpAsc > 96)) Then
Urlcode = Urlcode & Chr(InpAsc)
Else
Urlcode = Urlcode & "%" & mid(Trim(Hex(InpAsc)),1,2) & "%" & mid(Trim(Hex(InpAsc)),3,2)
End If
Next
end Function

上一篇:VBS實現(xiàn)GB2312,UTF-8,Unicode,BIG5編碼轉(zhuǎn)換工具

欄    目:vb

下一篇:屏蔽端口的vbs腳本

本文標(biāo)題:vbs 百度小助手

本文地址:http://mengdiqiu.com.cn/a1/vb/7503.html

網(wǎng)頁制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語言數(shù)據(jù)庫服務(wù)器

如果侵犯了您的權(quán)利,請與我們聯(lián)系,我們將在24小時內(nèi)進行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有