Created
October 23, 2012 08:21
-
-
Save KhalidFawzy/3937608 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