AutoHotkey Community

It is currently May 26th, 2012, 1:25 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 25th, 2008, 1:01 pm 
Offline

Joined: June 4th, 2005, 1:54 am
Posts: 146
This script is the literal imlementation of "to run, you have to walk first".

When learning to touch-type, or when learning a new keyboard layout (such as Colemak), I sometimes hit the wrong key. Instead of slowing down and correcting myself (and consciuosly learning from my mistake), I tend to quickly try all surrounding keys one after the other until I happen to hit the right one. And then I go and make the same typo again a few minutes later.

So, what this script does is slow you down every time you hit Backspace (or Caps Lock, on Colemak). It forces you to carefully choose the next key to hit, making you think about it in the process.

All intervals are configurable. Not all features are implemented yet (most notably, locale is completely missing - it forces you to type in English).

What do you think about it?

Edit 26 Nov Some bugs fixed.

[code]
MakeFasterBy := 50 ; how much to reduce from the delay of the keys, in ms
MakeFasterEvery := 250 ; interval between each time the delay is reduced, in ms
MakeSlowerBy := 500 ; how much slower to make key entry every time there is a mistake, in ms
MaxDelay := 1000 ; maximum delay between keys
KeyDelay := 0 ; initial key delay, in ms
GraceKeys := 4 ; how many keys have to be typed correctly in a row, before the delay is cancelled
CorrectlyTyped := 0


#MaxThreadsPerHotkey 1
;Register all keys as hotkeys.
k_ASCII = 42
Loop {
Transform k_char, Chr, %k_ASCII%
;StringUpper k_char, k_char
if k_char not in <,>,^,~,


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 9th, 2008, 4:52 pm 
Offline

Joined: October 15th, 2008, 5:29 pm
Posts: 42
YOU SIR, HAVE WON THE INTERNET :D

It's.. IT'S!!!... GENIUS! Just what i have been looking forward to in long time, and without knowing it!!!!!!

_________________
Mr. HappyDude


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 9th, 2008, 10:29 pm 
Offline

Joined: June 4th, 2005, 1:54 am
Posts: 146
TheDanishDragon wrote:

It's.. IT'S!!!... GENIUS! Just what i have been looking forward to in long time, and without knowing it!!!!!!


Wow! That's awesome! :) I'm glad I'm not the only one who finds this useful! :)


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, maraskan_user and 15 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