Skip to content

Instantly share code, notes, and snippets.

View frankmarazita's full-sized avatar
💻
(■_■¬)

Frank Marazita frankmarazita

💻
(■_■¬)
  • Melbourne, Australia
  • 02:18 (UTC +10:00)
View GitHub Profile
@frankmarazita
frankmarazita / closeTeamviewerSponsoredSession.ahk
Created May 29, 2020 16:44
An AutoHotkey script for automatically closing Teamviewer's sponsored session window while remaining hidden
#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%