AutoHotkey Community

It is currently May 27th, 2012, 1:39 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: June 21st, 2009, 10:35 am 
Offline

Joined: January 26th, 2009, 7:14 am
Posts: 32
just a simple text effect and string flip..


Code:
fulltext = _KiZsDeT!
gui, +lastfound +toolwindow
gui,add,text,vtxtfx w330 h200,%fulltext%
GuiControl,,txtfx,
gui, show,w330 h50
gosub,dottxtfx
Return

dottxtfx:
stringlen,txtlen,fulltext
speed = 75
textchar = 0
loop, %txtlen%
{
   textchar += 1
   stringmid,txtmid,fulltext,textchar,1
   GuiControlGet,currenttxt,,txtfx
   GuiControl,,txtfx,%currenttxt%%txtmid%
   Gui, Font, s18 cRed Bold, Verdana
   guicontrol,font,txtfx
   sleep 50
   Gui, Font, s18 cBlue Bold, Verdana
   guicontrol,font,txtfx
   sleep 50
   Gui, Font, s18 cblack Bold, Verdana
   guicontrol,font,txtfx
   sleep, 50
   continue
}
GuiControl,,txtfx,%currenttxt%%txtmid%%A_space%†%A_space%
textchar := txtlen+1
loop, %txtlen%
{
   textchar -= 1
   stringmid,txtmid,fulltext,textchar,1
   GuiControlGet,currenttxt,,txtfx
   GuiControl,,txtfx,%currenttxt%%txtmid%
   Gui, Font, s18 cRed Bold, Verdana
   guicontrol,font,txtfx
   sleep 50
   Gui, Font, s18 cBlue Bold, Verdana
   guicontrol,font,txtfx
   sleep 50
   Gui, Font, s18 cblack Bold, Verdana
   guicontrol,font,txtfx
   sleep, 50
}
Loop
{
Gui, Font, s18 cRed Bold, Verdana
   guicontrol,font,txtfx
   sleep 150
   Gui, Font, s18 cBlue Bold, Verdana
   guicontrol,font,txtfx
   sleep 150
   Gui, Font, s18 cblack Bold, Verdana
   guicontrol,font,txtfx
   sleep, 150
   }
Return

guiclose:
guiescape:
exitapp


Last edited by kizsleg on June 22nd, 2009, 12:10 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 21st, 2009, 2:21 pm 
Would you mind to add a minimal description to your initial thread? And/or comment your script a little bit more ... :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 29th, 2009, 7:04 pm 
can you give some example of what is the use of this script?


Report this post
Top
  
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: No registered users and 20 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