تماشای ویدئو VBScript Basics Part 31 Internet Explorer Existing Window Automation از آی-ویدئو

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
آی-ویدئو