#Persistent ;DetectHiddenWindows On Menu, Tray, Icon, Shell32.dll, 208 ;Tablet tray icon Menu, Tray, Tip, Tabtip-Tamer v3 ;Tray icon tooltip Menu, Tray, NoStandard Menu, Tray, Add, Reload Tabtip, ReloadTIP Menu, Tray, Add, Pause Tabtip-Tamer, PauseTT Menu, Tray, Add, Exit Tabtip-Tamer, ExitTT Menu, Tray, Default, Reload Tabtip paused := false loop ;outer loop is infinite. at the start of the loop the TIP is closed { Process, Priority, tabtip.exe, high loop ;loop until the tip is actually opened, not just the floating icon { WinWait, ahk_class IPTip_Main_Window WinGetPos, , , , TipHeight, ahk_class IPTip_Main_Window IfGreater, TipHeight, 50 ;TIP window open { Process, Priority, tabtip.exe, normal break } } WinWaitClose, ahk_class IPTip_Main_Window } Return ReloadTIP: Process, Close, tabtip.exe Process, Close, tcserver.exe RunWait tabtip.exe, C:\Program Files\Common Files\Microsoft Shared\Ink\ Process, Priority, tabtip.exe, high Return PauseTT: paused := NOT(paused) if (paused) { Process, Priority, tabtip.exe, normal } else { Process, Priority, tabtip.exe, high } Menu, Tray, ToggleCheck, Pause Tabtip-Tamer Pause, Toggle Return ExitTT: Process, Priority, tabtip.exe, normal ExitApp