AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mouse gesture performance

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
baby-luck



Joined: 25 Apr 2006
Posts: 15

PostPosted: Fri Aug 04, 2006 5:44 am    Post subject: mouse gesture performance Reply with quote

Hello,

I have written my own version of a mouse gesture script. I have read thru and briefly tried deguix's Mouse Gestures and
Jason's version of nanasisan's (whose identification and naming method is very cool). In fact it was deguix's that proved the reference for mine.

I mostly use my gestures for navigating Windows Explorer in the same way as Opera's gestures (which Wikipedia says it had since April 2001!) and I can't live without them now. My friend says about the same thing Smile

Well, though I think my script has a little better recognition than the other scripts (recognizing a squared 'S' isn't too hard), when trying to distinguish between a 'squared S' and an 'angled S' at the best tolerances, there were difficulties.
Code:

squared and angled S
 ____         _____
|            /
|____        \_____
     |             \
 ____|        _____/

I think the algorithm and tolerancing have the same inherent weaknesses as the other scripts.

I'd like to hear about other people's experience with mouse gesture scripts:
Are the gestures recognized easily?
With right angles alone you can define around a dozen; Does anyone use more than a dozen commands?
*Would* anyone make use of more than a dozen commands?
With good recognition you might even be able to do simple handwriting recognition (not cursive, and restricting the set to numbers would be better). Could anyone make use of that?

The reason is that there are other ways to recognize a gesture. Better ways it seems. Anyone interested in my writing an attempt?

Thanks for any comments Smile

p.s. Keeping in mind what was said above, aspects of my script:
Gesture definition is similar to deguix's
Gesture algorithm is improved
Gestures are active on an explicitly inclusive basis: specific gestures for specific apps must be included in the definitions and code.
I chose to avoid allowing gestures to function all the time to reduce interference.
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sat Aug 05, 2006 3:44 pm    Post subject: Reply with quote

Thanks for sharing your experience with mouse gestures. There is a tentative plan to add built-in support for gestures in a future version of AutoHotkey. Posts like yours will be valuable when the time comes.
Back to top
View user's profile Send private message Send e-mail
Guest624
Guest





PostPosted: Sat Aug 05, 2006 8:08 pm    Post subject: Reply with quote

You could try Sensiva 2.5 ( freeware, (c) Sensiva, Inc., 2000 - www.sensiva.com) - probably the best mouse-gestures program I have ever tried.

Version 2.5 can be downloaded here:
http://www.tabletywacom.pl/drivers/files/Sensiva_en251s.exe
Back to top
jamestr



Joined: 05 Apr 2004
Posts: 96
Location: Connecticut USA

PostPosted: Sun Aug 06, 2006 2:25 am    Post subject: Reply with quote

I use the freeware app named

'strokeit'

for mouse gestures

It works quite well with ahk.

I like the colored 'gesture trail' that is displays, very handy for improving your gestures.



http://www.tcbmi.com/strokeit/shots.shtml

http://www.download.com/StrokeIt/3000-2094_4-10514527.html
Back to top
View user's profile Send private message
baby-luck



Joined: 25 Apr 2006
Posts: 15

PostPosted: Sun Aug 06, 2006 4:29 pm    Post subject: Reply with quote

(post accidentally deleted)
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Tue Aug 08, 2006 12:29 am    Post subject: Reply with quote

Sorry about deleting your post (I accidentally pressed Edit instead of Quote Embarassed). Feel free to repost it if you still have it.

Quote:
How tentative is the plan for built-in support? Of the order of 1 month or 1 year?
Is it really advantageous to have AHK with in-built gestures? Or is it a wish-list item?
Probably closer to 1 year because I don't have much experience with mouse gestures. Plus I don't think it would be used as often has hotkeys and hotstrings.
Back to top
View user's profile Send private message Send e-mail
baby-luck



Joined: 25 Apr 2006
Posts: 15

PostPosted: Wed Aug 09, 2006 9:01 pm    Post subject: Reply with quote

Deleted. ROTFLOL. no problem Smile

Don't still have it but I was interested to really know in what way people actually use gestures; so here it is again but more to the point:

I knew of Strokeit before but had a brief look at it again and Sensiva too. They seem very advanced and comprehensive which is cool but ....

I cannot live without my gestures for navigating Windows Explorer but I still only use about 7 or so. At that quantity, my script can tolerance to allow it to work pretty well I think (up to about 16 2 stroke right angle only gestures).

If simple gestures are ok and if, like the algorithms from deguix and nanasian, treating "400px left then 50 down" the same as "50 left then 50 down" is ok and if having simple right angle strokes is ok, then I think the gesture scripts available are fine.

But, if you think that perhaps drawing an 'e' (like strokeit/sensiva) is a better way to run email, or if you want 40 gestures, or if you want to use curves or more similar gestures then I think none of the gesture algorithms I have seen offered in scripts, including my own, are capable. That is why several people have noted they needed to 'learn' how to draw the more complex gestures.

So I am curious which of the two approaches people would like, would use, or both?

The first is basically done, the second needs a solid algorithm not yet written in AHK (tho after some reading, but still with the optimism of ignorance, it looks like it might not be too much work to get something workable running).

Thanks again for the comments so far.

btw:
jamestr - you said "It works quite well with ahk." ... you have them working with each other or something?? like a gesture triggering an AHK script?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group