Created
May 29, 2020 16:44
-
-
Save frankmarazita/36a8fdf744f6e9688f4d9064007712a5 to your computer and use it in GitHub Desktop.
An AutoHotkey script for automatically closing Teamviewer's sponsored session window while remaining hidden
This file contains 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
#NoTrayIcon | |
TeamViewer_Alert_Windows_Title := "Sponsored session" | |
TeamViewer_Alert_Windows_Param := TeamViewer_Alert_Windows_Title . " ahk_exe TeamViewer.exe ahk_class #32770" | |
Loop | |
{ | |
If WinExist(TeamViewer_Alert_Windows_Param) | |
{ | |
ControlClick, Button4, %TeamViewer_Alert_Windows_Param% | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment