Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires AutoHotkey v2.0
- ; Define the key combo (Ctrl + Alt + T in this case)
- ^+s::
- {
- ; Get the mouse position
- MouseGetPos(&x, &y)
- ; Set the tooltip content
- tooltipText := "
- (
- tyvm - Thank you very much!
- addr - my address
- ty - Thank you!
- phone - my phone
- /today -
- /greet -
- brb - Be right back
- fc converts F to C
- Hold WIN - Powertoys Shortcuts
- Middle Click - Favs
- Ctrl Shift C - Paste ALL CAPS
- ========
- PREMIERE PRO
- ========
- Ctrl Shift D - New white matte
- ========
- CHROME
- ========
- Ctrl Shift D - New Request
- )"
- ; Show tooltip at the mouse position
- ToolTip(tooltipText, x + 10, y + 10)
- ; Keep showing the tooltip until the keys are released
- While GetKeyState("Ctrl", "P") && GetKeyState("Shift", "P") && GetKeyState("s", "P")
- {
- Sleep(1000) ; Slight delay to prevent high CPU usage
- }
- ; Hide the tooltip when the keys are released
- ToolTip("")
- }
Advertisement
Add Comment
Please, Sign In to add comment