VBScript Basics, Part 31 | Internet Explorer - Existing Window (Automation)

ثاقب
ثاقب
307 بار بازدید - 7 سال پیش - VBScripting (.vbs) Basic tutorial on
VBScripting (.vbs) Basic tutorial on how to use an existing or already opened Internet Explorer Window instead of creating a new one to run your script. Code Example: ______________________________________________________ Option Explicit Dim objApp, nIE, oIE, Window Set objApp = CreateObject("Shell.Application") Set oIE = Nothing For Each Window In objApp.Windows If Window = "Windows Internet Explorer" Then Set oIE = Window End If Next If oIE is Nothing Then Call NewIE Else Call OpenIE End If '
7 سال پیش در تاریخ 1396/10/07 منتشر شده است.
307 بـار بازدید شده
... بیشتر