/ToolTipEx

Enable the ToolTip to track the mouse cursor smoothly and permit the ToolTip to be moved by dragging.

Primary LanguageAutoHotkeyMIT LicenseMIT

Features

  1. Switching between Dark/ light theme based on the system settings.
  2. Following the mouse movement smoothly without flickering.
  3. (Optional) Automatically close after a timeout.
  4. ClickMode: When ClickMode is enabled, you can drag the ToolTip by holding the left button, and close it by double-clicking.

Examples

20240201-0417-24.4785171.mp4
#requires AutoHotkey v2

/* Following the mouse movement + Time-out */
Numpad1::{
    ToolTipEx("ABCABCABCABCABCABCABCABCABC`nABC`nABC`nABC`nABC`nABC`nABC`nABC`nABC`n",  5)
}

/* Count Down */
Numpad2:: {
    Loop 5 
        SetTimer(ToolTipEx.Bind(6-A_Index, 1), A_Index * -1000)
}

/* Click mode */
Numpad3::{
    ToolTipEx("ABCABCABCABCABCABCABCABCABC`nABC`nABC`nABC`nABC`nABC`nABC`nABC`nABC`n",,,, true)
}