0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

IEの起動方法

Last updated at Posted at 2022-01-11

Windows11でInternet Explorer11を起動する方法 - Qiita が消えた時用に退避

vbs

ie.vbs
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.navigate "https://qiita.com/"

InternetExplorer.Application
の部分を
D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E
に書き換えることで、ウィンドウ処理を連続して行うことができる。
(IEのセキュリティレベルをMediumで扱うIDということらしい。
)

ie.vbs
Set objIE = CreateObject("D5E8041D-920F-45e9-B8FB-B1DEB82C6E5E")
objIE.Visible = True
objIE.navigate "https://qiita.com/"

' Webページのロードを待つ
Do While objIE.Busy = True Or objIE.readyState <> 4
	WScript.Sleep 100
Loop    

objIE.navigate "https://qiita.com/tukiyo3"

2022年6月15日以降もIEが起動することを確認。(win11でも起動。)

powershell

ie.bat
@powershell -NoProfile -ExecutionPolicy unrestricted -Command ^
 "(New-Object -ComObject InternetExplorer.Application).Visible=1"

パッチ

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?