我嘗試創建一個VBS腳本,自動啓動了一個網站。這部分我可以解決。 但現在我需要把這個腳本的功能登錄爲 這就是我呆呆的點。登錄網站登錄名和密碼
所以我希望你能幫助我。 這裏是我拿開的網站
Dim objExplorer
Set objExplorer = WScript.CreateObject("InternetExplorer.Application")
Do While (objExplorer.Busy)
Wscript.Sleep 250
Loop
objExplorer.TheaterMode = False
objExplorer.AddressBar = True
objExplorer.MenuBar = True
objExplorer.StatusBar = True
objExplorer.ToolBar = False
objExplorer.Resizable = True
objExplorer.Height = 600
objExplorer.Width = 800
objExplorer.Left = 0
objExplorer.Top = 0
' objExplorer.FullScreen = True
objExplorer.Silent = False
objExplorer.Visible = True
objExplorer.Navigate https://mi-xxxxx-xxx-xxxxx.xxx.com/xxxxxxxxxxxxx/login.aspx
objExplorer.Login = User
ObjExplorer.Password = Password
wscript.sleep 6000
Set objShell = CreateObject("Wscript.Shell")
objShell.Run("taskkill /F /IM iexplore.exe /T")
Set objExplorer = nothing
我希望有一個簡單的方法來一個結果腳本。
非常感謝您的幫助。 最好的問候 馬丁
這是一個很好的建議。你知道任何不需要軟件安裝的選擇嗎?我處於禁止軟件安裝的工作環境中,但我們仍然可以運行可執行文件。我很樂意將它融入到我現有的一些腳本中。 –
@BHart號您需要SSL代理來分解SSL連接才能檢查HTTPS請求。我認爲沒有管理員權限就可以設置這樣的東西。 –
數字:P感謝您的及時響應! –