Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ToolTipEx.au3>
- #include <GUIConstants.au3>
- _ToolTip_FontSetOptions("Segoe Print", 8)
- $fTimer = TimerInit()
- While Sleep(30)
- $aMousePos = MouseGetPos()
- Switch TimerDiff($fTimer) >= 3000
- Case False
- _ToolTip_Create("MousePos:" & @CRLF & $aMousePos[0] & ":" & $aMousePos[1], $aMousePos[0], $aMousePos[1] - 15, 0)
- Case True
- _ToolTip_FontSetOptions("Segoe Script", 12)
- _ToolTip_TextSetColor(0xD0202020)
- For $iTransparency = 0 To 100
- $aMousePos = MouseGetPos()
- _ToolTip_Create("name22", $aMousePos[0], $aMousePos[1] - 15, 0)
- _ToolTip_BGSetColor("0x" & Hex(Floor(208 / 100 * (100 - $iTransparency)), 2) & "202020")
- _ToolTip_BorderSetColor("0x" & Hex(Floor(224 / 100 * (100 - $iTransparency)), 2) & "E57913")
- _ToolTip_TextSetColor("0x" & Hex(Floor(208 / 100 * (100 - $iTransparency)), 2) & "202020")
- Sleep(30)
- Next
- Exit
- EndSwitch
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement