Playful and hopefully useful.
Code:
#NoTrayIcon
; texts to be shown
Title = Your title here.
SubTitle = Your subtitle here.
gui, +alwaysontop +toolwindow
gui, color, 6D0043
gui,margin,80,50
Gui, -Caption
gui,font,s30,Georgia
Gui, Add, Text, cFFDD00 center vt1pos, %Title%
gui,font,s15
Gui, Add, Text, cwhite center vt2pos, %SubTitle%
Gui, Show, , splash
; center all
WinGetPos, , , ww, , splash
GuiControlGet, t1pos, Pos
GuiControl, Move, t1pos, % "x" ((ww-t1posW)/2)
GuiControlGet, t2pos, Pos
GuiControl, Move, t2pos, % "x" ((ww-t2posW)/2)
; show for 2secs
sleep 1800
; and fade out
trans = 255
loop, 100
{
; play with numbers to adjust fade speed
sleep 5
trans := trans - 3
winset, transparent, %trans%, splash
}
exitapp