VBScript Basics, Part 34 | AppActivate - Maximize - Minimize - Restore - Close - Windows
462 بار بازدید -
7 سال پیش
-
VBScripting (.vbs) Basic tutorial on
VBScripting (.vbs) Basic tutorial on how to use the AppActivate Command to activate a specific window. This tutorial also goes over how to restore, maximize, minimize, and close a window.
Know the Basics:
------------------------------------------------------------------------------------------
Option Explicit
Dim objSHL : Set objSHL = CreateObject("WScript.Shell")
objSHL.AppActivate "TITLE OF WINDOW"
'objSHL.SendKeys "(% )(R)" 'restore active window
'objSHL.SendKeys "(% )(N)" 'minimize active window
'o
7 سال پیش
در تاریخ 1396/10/07 منتشر شده
است.
462
بـار بازدید شده