AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Enjoy!

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Wed Jan 05, 2005 8:45 pm    Post subject: Enjoy! Reply with quote

Just having some fun! Twisted Evil

Code:

Gui, Add, Edit, x6 y7 w220 h170,
Gui, Show, h182 w232, SmartEditor
Msg = I ym y fzzlx nzx yn @d@ztx nzxx y fzzl@sh @d@ztxxx.
StringReplace, Msg, Msg, y, a, A
StringReplace, Msg, Msg, z, o, A
StringReplace, Msg, Msg, x, !, A
StringReplace, Msg, Msg, @, i, A
Loop
{
   IfWinActive, SmartEditor
      Input, char, L1
   
   Else
   {
      Sleep, 100
      Continue
   }
   
   Len ++
   ToShow =
   Loop
   {
      ToShow = %ToShow%%Msg%
      StringLen, check, ToShow
      
      IfGreater, check, %Len%, Break
   }
   StringLeft, ToShow, ToShow, %Len%
   GuiControl,, Edit1, %ToShow%
   ControlSend, Edit1, ^{End}, SmartEditor
}   

Return

GuiClose:
ExitApp

_________________
Back to top
View user's profile Send private message
CarlosTheTackle



Joined: 19 Oct 2004
Posts: 102

PostPosted: Wed Jan 05, 2005 9:44 pm    Post subject: Reply with quote

Yes, very funny. Laughing
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5026
Location: imaginationland

PostPosted: Wed Jan 05, 2005 11:18 pm    Post subject: Reply with quote

Lmao Laughing
Back to top
View user's profile Send private message Visit poster's website
BoBo
Guest





PostPosted: Wed Jan 05, 2005 11:28 pm    Post subject: Reply with quote

I'm such a fool Embarassed
I'm off, to commit suicide ...
Back to top
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jan 06, 2005 6:55 am    Post subject: Reply with quote

I code nonsense when i get bored (last time it was aquarium)! Rolling Eyes Laughing
_________________
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Thu Jan 06, 2005 7:36 am    Post subject: Reply with quote

Hey, Rajat, check this out, you might like these. The first one is an actual segment of code in OutRun (which is very, very close to completion, by the way!), and the second is just some doodad that popped up while I was testing something. I have no real use for either, and the first one is only in the OutRun code as a backup for a sound (to signal an error). They might spark something in that vast and colorful imagination of yours. Wink Laughing

Code:
splashimage,, B H30 W30 X0 Y0 CWFF0000,,,1234567890
sleep,400
marker:
loop,255
 {
  alpha = 255
  alpha -= %A_Index%
  winset,Transparent,%alpha%,1234567890
  sleep,1
  if A_Index = 100
   {
    if marker = 3
    continue
    marker++
    goto,marker
   }
 }
marker = 0
splashimage,off
return


Note: You may have to tweak this second one to get it to look right (I.e. using SetWinDelay, SetBatchLines, etc.), but it should work as it is.

Code:
coord = 300
setwindelay,0
splashimage,,B H30 W30 X%coord% Y0 CWFFFFFF,,,12345678
winset,Transparent,255,12345678
loop,255
{
 alpha = 255
 alpha -= %A_Index%
 coord++
 winset,Transparent,%alpha%,12345678
 winmove,12345678,,%coord%,0
 sleep,1
}
return
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jan 06, 2005 7:54 am    Post subject: Reply with quote

cool sfx jonny!! Razz .... i'll definitely try to use them in some script for notification!
_________________
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Thu Jan 06, 2005 8:11 am    Post subject: Reply with quote

the editor above would b nice to compile and send to friends! Wink
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group