 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
CraSH23000
Joined: 22 Jun 2007 Posts: 38
|
Posted: Sat Apr 05, 2008 2: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
|
_________________ What is real in our infinitely alternating perception of reality? |
|
| Back to top |
|
 |
Purloinedheart" Guest
|
Posted: Tue Apr 08, 2008 1:05 am Post subject: |
|
|
| This is a great script, typing seems really dull without it! |
|
| Back to top |
|
 |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Tue Apr 08, 2008 10: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: 81 Location: South Australia
|
Posted: Wed Apr 09, 2008 11: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: 162 Location: Trøndelag, Norway
|
Posted: Wed Apr 09, 2008 7:39 pm Post subject: |
|
|
how about the norwegian letters: "æ" "ø" and "å" _________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
ProfessorY91
Joined: 03 Mar 2008 Posts: 8 Location: Inside your mind.
|
Posted: Wed Apr 09, 2008 9:40 pm Post subject: |
|
|
Oh holy lord this could be so perfect for a prank!!!!!!!!!!!!
Bless you! _________________ If you dont follow your instincts then your instincts will follow you.
www.alamalhaloteam.webs.com |
|
| 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
|