Skip to content

Instantly share code, notes, and snippets.

@KhalidFawzy
Created October 23, 2012 08:21
Show Gist options
  • Save KhalidFawzy/3937608 to your computer and use it in GitHub Desktop.
Save KhalidFawzy/3937608 to your computer and use it in GitHub Desktop.
Little script to animate gui title in AutoHotKey
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