Forked from KhalidFawzy/AutoHotKey Simple Title Animation
Created
November 10, 2024 23:35
-
-
Save pa-0/3d3fba94ec03255445a92db400c948dc to your computer and use it in GitHub Desktop.
Little script to animate gui title in AutoHotKey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title1 = Simple Title Animation | |
Title2 = Created by: Khalid Fawzy | |
SetTimer, AnimateTitle, 100 | |
Gui +AlwaysOnTop | |
Gui +HWndGUI_ID | |
Gui, Show, Center h100 w400, . | |
Return | |
GuiEscape: | |
GuiClose: | |
ExitApp | |
AnimateTitle: | |
TextX := "" | |
Loop, Parse, Title1, | |
{ | |
TextX = % TextX . A_LoopField | |
WinSetTitle, ahk_id %GUI_ID%, , %TextX% | |
sleep, 100 | |
} | |
sleep, 700 | |
TextX := "" | |
Loop, Parse, Title2, | |
{ | |
TextX = % TextX . A_LoopField | |
WinSetTitle, ahk_id %GUI_ID%, , %TextX% | |
sleep, 100 | |
} | |
sleep, 700 | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment