 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Wed Jan 05, 2005 8:45 pm Post subject: Enjoy! |
|
|
Just having some fun!
| 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 |
|
 |
CarlosTheTackle
Joined: 19 Oct 2004 Posts: 102
|
Posted: Wed Jan 05, 2005 9:44 pm Post subject: |
|
|
Yes, very funny.  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5026 Location: imaginationland
|
Posted: Wed Jan 05, 2005 11:18 pm Post subject: |
|
|
Lmao  |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Wed Jan 05, 2005 11:28 pm Post subject: |
|
|
I'm such a fool
I'm off, to commit suicide ... |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Thu Jan 06, 2005 6:55 am Post subject: |
|
|
I code nonsense when i get bored (last time it was aquarium)!  _________________
 |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Thu Jan 06, 2005 7:36 am Post subject: |
|
|
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.
| 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 |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Thu Jan 06, 2005 7:54 am Post subject: |
|
|
cool sfx jonny!! .... i'll definitely try to use them in some script for notification! _________________
 |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Thu Jan 06, 2005 8:11 am Post subject: |
|
|
the editor above would b nice to compile and send to friends!  _________________
 |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|