Skip to content

Instantly share code, notes, and snippets.

@tluyben
Last active May 4, 2026 13:40
Show Gist options
  • Select an option

  • Save tluyben/5ff86d0a6c1c9264e7d515dea7655da0 to your computer and use it in GitHub Desktop.

Select an option

Save tluyben/5ff86d0a6c1c9264e7d515dea7655da0 to your computer and use it in GitHub Desktop.
NoMachine balloon notification killer for Windows
#Requires AutoHotkey v2.0
SetTimer(KillNoMachine, 500)
KillNoMachine() {
for hwnd in WinGetList()
{
try {
exe := WinGetProcessName("ahk_id " hwnd)
class := WinGetClass("ahk_id " hwnd)
title := WinGetTitle("ahk_id " hwnd)
if (exe = "nxrunner.bin" && class = "QTool" && InStr(title, "NoMachine"))
{
WinClose("ahk_id " hwnd)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment