AutoHotkey Community

It is currently May 26th, 2012, 7:21 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: June 4th, 2009, 4:07 pm 
Offline

Joined: April 22nd, 2008, 7:13 pm
Posts: 82
Update - 26th Nov 2009 - Added a click delay setting
Update - 25th Nov 2009 - Save/Load and mousespeed bug fixes
[Update - 16th Nov 2009]

This is an app I've made to help teach the kids in my class how to use a computer mouse. It also works on an interactive whiteboard. I am a relatively new special needs teacher and found AHK to be perfect for making technology accessibile for my students (severe autism and Down Syndrome). I saw that my students really engaged with computers and interactive whiteboards but their motor skills/behaviour or cognitive ability often hindered a rewarding interaction with them, and so MouseTrainer was born! As far as my research has revealed there's nothing like it out there. With it you can adjust almost anything to do with the mouse so that you can scaffold your student's learning.

Download http://www.autohotkey.net/~evandevon/MouseTrainer.zip

Features:
IMPORTANT! - Once you've started training press escape at any time to return to the setup stage.
Choose a region of the screen for the mouse to only work in (stops them e.g. clicking the taskbar).
Choose what any of the mouse buttons do (e.g. all Left click).
Set the mouse speed 0-10 (can set to 0 for no movement to act like a switch http://www.spectronics.com.au/product/big-red-switch).
Choose a click delay for those rapid clickers who need to slow down
Choose from a variety of cursors to follow the mouse (large images - not actual cursors).
Works with interactive whiteboards (to paint use the "SMARTboard" painting setting)
An Error log displayed at the end of your training session to help you with assessing your student's progress.

ScreenShots
ImageImageImage

A great painting program to use with this is "Artrage" - it has very realistic painting effects which I have found to be soothing for some particular students.
http://www.artrage.com/

Image

As you can see there is a green rectangle highlighting the area the mouse will work in - The mouse won't work if clicked outside the workarea but if the mouse is pressed inside then held and dragged outside then it continues to be held down until the user releases the button. You can see this in the letter "T" in the screencap. There is also a paintbrush image following the cursor.

Future Features:
- An IronAHK port for Linux/Mac compatibility
- A mouse movement smoother for shaky hands

Known bugs/issues:
-The script uses the clipboard so you'll lose anything in it (2be fixed later)
-The script needs tidying up because it was very poorly written on not much sleep. (Once I start scripting I can't stop!)\
-A second script that produces the cursor image needs to be assimilated into to main script. Sometimes the situation arises in which the main program shuts down but the secondary one does not. (Fix = Restart Mousetrainer and then close it down properly),

Thanks Chris and everyone in the AHK community!
Any constructive feedback would be appreciated!
evs.

_________________
Inventing problems that need solutions...

Open Communicator
MouseTrainer


Last edited by evandevon on December 29th, 2009, 4:56 pm, edited 17 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2009, 12:16 am 
Not yet tested it (I'm getting a li'll tired now :| ), but don't wanna miss to thank you for your effort to support handicapped people. Thx mate 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2009, 10:06 am 
Offline

Joined: April 22nd, 2008, 7:13 pm
Posts: 82
Thanks for that Bobo3! I really appreciate it!

Just got back from work and tested it on a SMARTboard interactive whiteboard. To my horrible dismay it didn't work but after some screaming I found a setting called something like "click and hold". It would send a right click after a second if you hold your finger against the SMARTboard for a second and this was stopping the dragging of the Lbutton. Once turned off it works great!
The particular software for the SMARTboard I use at school is school is called 'Notebook' and the setting is in the control panel for that app if you right click on its icon in the system tray. Then you have to choose to adjust the mouse settings from the drop down box and uncheck the 'click and hold' setting. I might add that setting to change automatically but sinc there are a variety of interactive whiteboards and associated apps I don't know if its really worth the time.

[EDIT] The school I work at recently re-imaged their computers and I could not get it to work on an interactive whiteboard again so I added an option that should make it work on ALL interactive whiteboards. The click and hold feature uses movement to detect click and hold and releases when you stop moving the mouse for a fraction of a second. This works since on a smartboard you release your touch to press something else and by the time it takes you to press somewhere else the Lbutton is released. Updated the top post.

_________________
Inventing problems that need solutions...

Open Communicator
MouseTrainer


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 17th, 2009, 4:35 pm 
Offline

Joined: April 22nd, 2008, 7:13 pm
Posts: 82
App updated to display error log - For use with reporting.

_________________
Inventing problems that need solutions...

Open Communicator
MouseTrainer


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2010, 12:00 pm 
Offline

Joined: April 25th, 2009, 9:02 pm
Posts: 123
Hi, it's great to see AHK being used for such a good cause.

Now, I'm slightly puzzled here, seeing as you seem to know so much more about AHK than me, but I'll mention it in case it's something you've simply not come across...

In previous scripts I've written that mess around with the clipboard, I've backed up it's contents first with these 2 simple lines:

Code:
ClipSaved := ClipboardAll  ;Saves current contents of clipboard to the variable called ClipSaved
Clipboard =    ;Blanks the current contents of the clipboard


Then, when you've finished playing with the clipboard, you can just do the following:

Code:
Clipboard := ClipSaved  ;Reverts the clipboard to what it was before you started messing with it.
ClipSaved =  ;Blanks the variable ClipSaved (Believe this is for neatness rather than actual functionality :P)


If this helps, then I'm glad to have been of use! And if it doesn't, I apologise for misunderstanding.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 4th, 2010, 4:34 pm 
Offline

Joined: April 22nd, 2008, 7:13 pm
Posts: 82
Hi ZeroCool! Thanks heaps for checking it out - you're absolutely correct - Looking back I think I missed it because I'd code (very) late at night after I had finished my lesson preparation for the next day. I'll put it on my list of fixes/additions to make when I revisit the program. Thanks for helping to make it more useable!

Evs

_________________
Inventing problems that need solutions...

Open Communicator
MouseTrainer


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Scratch, Xx7 and 18 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