Created
January 3, 2016 19:23
-
-
Save phts/c2f20f3e5352a8f128d9 to your computer and use it in GitHub Desktop.
Close TeamViewer's "Sponsored Session" popup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set sh = CreateObject("WScript.Shell") | |
For counter = 1 To 10 | |
activated = sh.AppActivate("Спонсируемый сеанс") | |
If activated = True Then | |
For t = 1 To 2 | |
sh.SendKeys "{TAB}" | |
Next | |
sh.SendKeys " " | |
WScript.Quit | |
End If | |
WScript.Sleep 1000 | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment