AutoHotkey Community

It is currently May 24th, 2012, 8:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: March 16th, 2007, 7:09 am 
Offline

Joined: November 1st, 2005, 4:44 am
Posts: 135
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

_________________
help to be helped


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 19th, 2007, 9:18 pm 
Offline

Joined: December 5th, 2007, 9:47 pm
Posts: 19
hmm this script was working for me and now every time it starts fading my computer and script will run extremely slow until the script is closed.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 20th, 2007, 7:45 pm 
Offline

Joined: November 1st, 2005, 4:44 am
Posts: 135
brettahk wrote:
was working for me and now...
Trace back your changes. :wink:

_________________
help to be helped


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: lblb, Scratch and 23 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group