好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > vbs-toolkit VBSEdit 提供 免費的COM組件

vbs-toolkit VBSEdit 提供 免費的COM組件

熱門標簽:地圖標注政府哪個部門管 齊齊哈爾高德地圖標注店 如何用機器人進行電銷 佛山真人電銷機器人廠家 東營快遞外呼系統 百度地圖標注點距離代碼 神行者美術館地圖標注 除了地圖標注還有這種生意嗎 哪里有便宜的地圖標注公司

VBSCRIPT 語法簡單 強大 但是功能上明顯不足 需要第三方的控制 e.g. COM 組件來擴展其功能. VBSEDIT 安裝完之后就可以在安裝目錄下發現 免費提供的 COM 組件 vbs toolkit.

下載 VBSEDIT 工具

32 位 DLL: vbsedit32 60 VBSEdit 提供
64 位 DLL: vbsedit64 61 VBSEdit 提供

注冊組件

注冊組件需要管理員權限. 可以運行下面命令分別注冊 32, 64 位的VBSEDIT 工具箱.

regsvr32 vbsedit32.dll
regsvr32 vbsedit64.dll

注銷的時候則需要 加 /u 參數

regsvr32 /u vbsedit32.dll
regsvr32 /u vbsedit64.dll

提供了一些方便的功能擴展 比如剪貼板.

Set toolkit = CreateObject("VbsEdit.Toolkit")
toolkit.PutClipboardText "Hello World" 
WScript.Echo toolkit.GetClipboardText() 

CLIPBOARD OPERATIONS

GetClipboardText method

1、獲取剪切板中的文本內容

Set toolkit = CreateObject("VbsEdit.Toolkit")
WScript.Echo toolkit.GetClipboardText() 

PutClipboardText method

2、將指定內容設置到剪切板中

Set toolkit = CreateObject("VbsEdit.Toolkit")
toolkit.PutClipboardText "Hello World"

運行后就將剪切板的數據設置為 Hello World

DIALOG BOXES

OpenFileDialog method
Prompt the user to open a file
toolkit.OpenFileDialog ([initialFolder,[filters,[multiselect,[title]]]])

'Opens a single file
Set toolkit = CreateObject("VbsEdit.Toolkit")
files=toolkit.OpenFileDialog("c:\scripts\","Text Files (*.txt)|*.txt",False,"Open a text file")
If UBound(files)>=0 Then
 WScript.Echo files(0)
Else
 Wscript.Quit
End If
 
'Opens multiple files
Set toolkit = CreateObject("VbsEdit.Toolkit")
files=toolkit.OpenFileDialog("c:\scripts\","Text Files (*.txt)|*.txt",True,"Open a text file")
If UBound(files)>=0 Then
 For Each filepath In files
  WScript.Echo filepath
 Next
Else
 Wscript.Quit
End If

上面的代碼就是打開只可以輸入一個文件的對話框,第二段就是可以選擇多個文件的對話框

SaveFileDialog method

Prompt the user to save a file
toolkit.SaveFileDialog ([initialFolder,[initialFilename,[filters,[title]]]])

Set toolkit = CreateObject("VbsEdit.Toolkit")
filepath = toolkit.SaveFileDialog("c:\scripts","test.txt","Text Files (*.txt)|*.txt")
 
If Not(IsNull(filepath)) Then
 Set objFSO = CreateObject("Scripting.FileSystemObject")
 Set objFile = objFSO.CreateTextFile(filepath,True)
 objFile.WriteLine Date
 objFile.Close
Else
 Wscript.Quit
End If

上面的代碼就是另存為 文本文件對話框

SelectFolder method

Prompt the user to select a folder
toolkit.SelectFolder ([initialDir,[title]])

Set toolkit = CreateObject("VbsEdit.Toolkit")
myfolder=toolkit.SelectFolder("c:\scripts\","Please select a folder")
 
If Not(IsNull(myfolder)) Then
 WScript.Echo myfolder
Else
 Wscript.Quit
End If

上面的就是瀏覽文件夾對話框

ENUMERATING WINDOWS

TopLevelWindows method
Enumerates top level windows

Set toolkit = CreateObject("VbsEdit.Toolkit")
For each window in toolkit.TopLevelWindows()
 WScript.Echo window.WindowTitle
 WScript.Echo window.ProcessId
Next

枚舉頂級窗口

Window object

ClassName
Retrieves the name of the class to which the specified window belongs.

WindowTitle
Retrieves the title of the specified window's title bar or the text of the control if the specified window is a control.

DlgCtrlID
Retrieves the identifier of the specified control.

Height
Retrieves the height of the specified window.

Width
Retrieves the width of the specified window.

X
Retrieves the X coordinate of the upper-left corner of the specified window.

Y
Retrieves the Y coordinate of the upper-left corner of the specified window.

IsVisible
Determines the visibility state of the specified window.

ProcessId
Retrieves the identifier of the process that created the specified window.

Click method
Sends a mouse click event to the specified window.
window.Click ([offsetX ,[offsetY]])
If offsetX and offsetY are not specified, the event is sent into the middle of the window.

SendText method
Sends text to the specified window.
window.SendText text

ChildWindows method
Enumerates the child windows that belong to the specified parent window.

–EOF (The Ultimate Computing Technology Blog) —

您可能感興趣的文章:
  • 記逆向小白的第一次vbsedit 9爆破及內存補丁制作過程

標簽:湖州 邢臺 鶴壁 海口 文山 西安 銅川 四平

巨人網絡通訊聲明:本文標題《vbs-toolkit VBSEdit 提供 免費的COM組件》,本文關鍵詞  vbs-toolkit,VBSEdit,提供,免費,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《vbs-toolkit VBSEdit 提供 免費的COM組件》相關的同類信息!
  • 本頁收集關于vbs-toolkit VBSEdit 提供 免費的COM組件的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 911精品国产一区二区| 国产精久久久久久精品电影蜜奴 | 国产做受???高潮电影| 翁公舌头伸进她的花缝| 中国a级片| 火车上高H被迫进入| 印度性xxxx| 91无码人妻精品一区二区三区四| 从小调教小奶娃各种做肉高h| chinese老汉同性tv野外| 做完后流出来的白色液体| 果冻传媒一二三区AV精品电影| 男人桶女人的屁股app| 时光与他恰是正好免费观看| 亚洲AV久久艾草欧美| 嫩草网站永久入口| 新版金银瓶1996第二级| 老赵抱着陈婷的乳在厨房里视频| 97视频免费人人观看人人| 97人洗澡人人澡人人双人| 久久精品亚洲精品五月色| 白丝美女的隐私免费全网站| 天堂a√中文在线| 日日碰狠狠添天天爽无码麻豆视媒| 性欧美videofree另类一| 永修县| 120秒午夜体验区5次软件特色| 亚洲一区二区三区福利在线| 日韩精品久久久久久| 猎奇 重口 虐杀 血腥 肢解小说| 24小时日本电影在线观看.www| 免费韩漫无遮在线漫画| 韩漫免费网站无删减入口| 91香蕉视频黄色| 黃色A片三級三奶大| 爽妇网XXX| 女性做亲爱的过程视频| 久久久久久精品国产观看灭火宝贝| 免费看爽片| 日韩在线www| 内地chinese男男videos|