https://github.com/nperovic/tooltipex
Enable the ToolTip to track the mouse cursor smoothly and permit the ToolTip to be moved by dragging.
https://github.com/nperovic/tooltipex
ahk ahk-library ahk-script ahkv2 autohotkey autohotkey-v2 autohotkeyv2 tooltip
Last synced: about 2 months ago
JSON representation
Enable the ToolTip to track the mouse cursor smoothly and permit the ToolTip to be moved by dragging.
- Host: GitHub
- URL: https://github.com/nperovic/tooltipex
- Owner: nperovic
- License: mit
- Created: 2024-02-01T01:08:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T16:42:31.000Z (about 1 year ago)
- Last Synced: 2025-02-02T03:27:50.971Z (4 months ago)
- Topics: ahk, ahk-library, ahk-script, ahkv2, autohotkey, autohotkey-v2, autohotkeyv2, tooltip
- Language: AutoHotkey
- Homepage:
- Size: 23.4 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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
https://github.com/nperovic/ToolTipEx/assets/122501303/1d4405f9-00a4-427e-8fd1-c98b1507c1c0
```cpp
#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)
}
```