AutoHotkey Community

It is currently May 26th, 2012, 5:33 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: April 5th, 2008, 2:50 am 
Offline

Joined: June 22nd, 2007, 4:42 am
Posts: 40
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2008, 1:05 am 
This is a great script, typing seems really dull without it!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 8th, 2008, 10:55 am 
Offline

Joined: March 13th, 2008, 6:37 pm
Posts: 155
Location: Trøndelag, Norway
how fun.
instoled it on my brothers pc, drove him crasy :twisted:

_________________
-._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.-


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Nice
PostPosted: April 9th, 2008, 11:37 am 
Offline

Joined: November 12th, 2007, 10:18 am
Posts: 142
Location: South Australia
I love it rofl, Imma modify it a little to make it work on certain keys ;) nicely done

_________________
Image
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 9th, 2008, 7:39 pm 
Offline

Joined: March 13th, 2008, 6:37 pm
Posts: 155
Location: Trøndelag, Norway
how about the norwegian letters: "æ" "ø" and "å"

_________________
-._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.-


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 9th, 2008, 9:40 pm 
Offline

Joined: March 3rd, 2008, 2:48 pm
Posts: 12
Location: Inside your mind.
Oh holy lord this could be so perfect for a prank!!!!!!!!!!!!

Bless you!

_________________
ImageImage
ImageImage


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2011, 11:58 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 4th, 2011, 12:34 am 
Offline
User avatar

Joined: May 18th, 2010, 3:10 pm
Posts: 1179
Location: Sweden
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.

_________________
~sumon Appifyer AHK Nova halted Recommended: AHK_L (Why?)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 9 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