| View previous topic :: View next topic |
| Author |
Message |
CraSH23000
Joined: 22 Jun 2007 Posts: 40
|
Posted: Sat Apr 05, 2008 1:50 am Post subject: Typing made fun: (song typing) |
|
|
I made a script for fun because I was bored. The higher the letter is the higher the frequency it beeps and typing is still functional. Its kind of interesting.
| Code: |
; AutoHotkey Version: 1.x
; Language: English
; Platform: Win9x/NT
; Author: CraSH23000
;
; Script Function:
; Template script (you can customize this template by editing
;"ShellNew\Template.ahk" in your Windows folder)
;
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
original := "abcdefghijklmnopqrstuvwxyz0123456789.,/[]\;!@#$%^&*()<>?{}|:"
original_capped := "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Loop % StrLen(original)
{
c1 := SubStr(original, A_Index, 1)
Hotkey ~%c1%, DoHotkey
c2 := SubStr(original, A_Index, 1)
Hotkey ~+%c2%, DoHotkey_capped
}
return
DoHotkey:
StringRight ThisKey, A_ThisHotkey, 1
i2 := InStr(original, ThisKey)
;msgbox: i2 is %i2%
i3 := (i2*100)
SoundBeep, %i3%,100
return
DoHotkey_capped:
StringRight ThisKey, A_ThisHotkey, 1
i2 := InStr(original_capped, ThisKey)
;msgbox: i2 is %i2%
i3 := (i2*50)
SoundBeep, %i3%,100
return
~Space::SoundBeep, 37,100
~BackSpace::SoundBeep, 5000,100
~tab::SoundBeep, 8000,100
|
_________________ Truth is truth, whether you believe it or not. |
|
| Back to top |
|
 |
Purloinedheart" Guest
|
Posted: Tue Apr 08, 2008 12:05 am Post subject: |
|
|
| This is a great script, typing seems really dull without it! |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 155 Location: Trøndelag, Norway
|
Posted: Tue Apr 08, 2008 9:55 am Post subject: |
|
|
how fun.
instoled it on my brothers pc, drove him crasy  _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
happytodd
Joined: 12 Nov 2007 Posts: 142 Location: South Australia
|
Posted: Wed Apr 09, 2008 10:37 am Post subject: Nice |
|
|
I love it rofl, Imma modify it a little to make it work on certain keys nicely done _________________
 |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 155 Location: Trøndelag, Norway
|
Posted: Wed Apr 09, 2008 6:39 pm Post subject: |
|
|
how about the norwegian letters: "æ" "ø" and "å" _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
ProfessorY91
Joined: 03 Mar 2008 Posts: 12 Location: Inside your mind.
|
Posted: Wed Apr 09, 2008 8:40 pm Post subject: |
|
|
Oh holy lord this could be so perfect for a prank!!!!!!!!!!!!
Bless you! _________________

  |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 03, 2011 10:58 pm Post subject: |
|
|
| oh whoa whoa whoa whoa whoa oh bambi bambi bambi oh like bambi bambi bambi oh bambi i thought you"d always be mine oh bambi u know you love me you know you care what are you saying were just friends oh oh oh oh oh oh oh oh like bambi bambi bambi oh like bambi bambi bambi oh thought you always be mine |
|
| Back to top |
|
 |
sumon
Joined: 18 May 2010 Posts: 1016 Location: Sweden
|
Posted: Thu Mar 03, 2011 11:34 pm Post subject: |
|
|
Being a musician and a fast typer I think this could be very entertaining. I will have to learn to type in a nice tempo though.
Very imaginative use of autohotkey. Pretty sweet sounds aswell. I agree that it could be a pretty fun prank.
The only risk is that I will be tempted to write rubbish just because it sounds nice. For example:
ajajajajao iak oa jaoao kfaajkoakjaokjaplaplkaplkapplkaplkaplkaplkaplkaplkaplkaplkeplekgjfjdaosiekflqlapölkapokaklöapäölkaköaslf s fsafjioqwepoizxnm,asjklfasjölkqweeiopsadjklfasljkfasjklasfljksadljkfdsköadsadsdkaksdjaskdkasdjsadskasdjasjdoqwie ansda jlkfdmcxm,ansd,mn asjoiqwejklasdjfvnxz,mvkaskdqwioasdlkzxcjklvmmmm. |
|
| Back to top |
|
 |
|