Hi Ed!
EDIT:I've made a little program with a slider that sits above the clock
It increments a click delay in 0.2 second chunks with the buttons:
Enter / Space / Left Click / Middle Click / Right Click
(This way a mispressed Right click still left clicks)
Note:The delay doesn't apply when your changing the slider
You can download the code or the compiled-for-windows program
Download the improved .ahk file here
OR
Download the improved executable file here
Continue down if you want to look at the original simpler code
END EDIT
Firstly, you deserve a bit of praise for doing some research and ending up onto Autohotkey! Same reasons drove me here too. I'm happy you gave MouseTrainer a go. I really just coded it for myself so it's not very user friendly (but is flexible) - when I finish some other projects I'm working on I'll re-write it I think.
I can understand your situation - sometimes a student does things so quickly they can't link causes and effects, and if it's purely a physical issue then they will be distressed at their lack of control.
There are two VERY different solutions which you can work on.
1. If you are pretty techy you can actually make your own version of the switch using something called an "Arduino" which will be able to be used in switch adapted toys and such (I'm working on something similar). If you are interested (and have time to learn) I'm happy to share what I know about setting one up. The possibilities are endless with this!
2. Purely software (and "almost" purely Windows based) which is easier and free (although the switches are crazily expensive).
Here's some simple code that I whipped up to meet a few of your needs:
just change the sleep bit from 5000 (5 seconds) to e.g. 2000(2 seconds) to meet your needs.
Basically I just made hotkeys for all the keys I though you might like to use as a switch-click, when pressed they call up "Click_And_Wait" which just clicks and waits a time period - not allowing other clicks until that period expires. (Press escape to exit it)
Code:
esc::Exitapp
Space::
{
Goto,Click_And_Wait
return
}
Enter::
{
Goto,Click_And_Wait
return
}
Lbutton::
{
Goto,Click_And_Wait
Return
}
Mbutton::
{
Goto,Click_And_Wait
Return
}
Rbutton::
{
Goto,Click_And_Wait
Return
}
Click_And_Wait:
{
Click
Sleep,5000
return
}
Or download the .ahk file here
I also advise you to download and install
http://www.autohotkey.net/~fincs/SciTE4 ... nload.html
which has nice colours for different parts of the code to help you follow what is going on.
Give it a go and tell me if there's anything I missed or that is not clear - (My code has some useless bits - I have bad coding habits). If you're interested in learning Autohotkey (I advise it) I'm happy to give advice and the forum here is friendly and helpful.
Evandevon
P.S. I would appreciate some feedback on MouseTrainer if there was anything you thought about it.
_________________
Inventing problems that need solutions...
Open Communicator
MouseTrainer