Set objShell = WScript.CreateObject("WScript.Shell")
objShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Zoom\ZoomFactor",100000,"REG_DWORD"
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.FullScreen = False
objIE.Top = 0
objIE.Left = 0
objIE.Width = 1280
objIE.Height = 964
objIE.Toolbar = True
objIE.MenuBar = True
objIE.AddressBar = True
objIE.StatusBar = True
objIE.Navigate2 "https://entry11.bk.mufg.jp/ibg/dfw/APLIN/loginib/login?_TRANID=AA000_001"
Do Until objIE.Busy = False
WScript.sleep(250)
Loop
objIE.Document.MainForm.KEIYAKU_NO.value = "契約番号"
objIE.Document.MainForm.PASSWORD.value = "パスワード"
For n = 0 To objIE.Document.images.Length - 1
Set objIMG = objIE.Document.images(n)
If InStr(objIMG.src, "https://directg.s.bk.mufg.jp/refresh/imgs/_DIRECT_IMAGE/LOGINOUT/btn_login_off.gif")
> 0 Then
objIMG.Click
Exit For
End If
Next
Set WSHShell = WScript.CreateObject("WScript.Shell")
WSHShell.AppActivate "Explorer" |
|