AutoHotkey Community

It is currently May 26th, 2012, 6:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject:
PostPosted: February 22nd, 2008, 3:29 pm 
Offline

Joined: January 21st, 2008, 1:29 pm
Posts: 9
automaticman, can you explain in more detail what did you mean, my english is very limited :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2008, 3:49 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
I actually just repeated more or less what I wrote before. Just in another way. The bigger the space (applications, windows, controls) you can apply an operation (hotkey, mouse click, gestures and any other input type) the more powerful gets this operation as
F = m * a
F: measure for power
m: mass/size of influenced objects/spaces
a: acceleration/change/automation

or written differently
power = quantity * quality


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2008, 7:58 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
? What do I have to keep if I only want
Code:
Gesture_U = #p
from Gestures.ini

All other functionality I don't need (yet).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2008, 10:58 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
+ Another idea: Toggling "Show Desktop Icons" using a gesture. As the desktop icons mostly distract from the tasks you want to accomplish (or are just not needed for anything) keeping them unvisible all the time is not a bad idea. If you should need them at some point they would only have a gesture-distance.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2008, 11:53 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
automaticman wrote:
I don't know how your solution works but interesting would be also having one "multiplication gesture", when triggered, opening a GUI with buttons in it like:
The main advantage of gestures is that position doesn't matter; only direction. Showing a GUI would negate this.

However, if you want a mouse gesture to show a GUI (or do any other scripted action), it is as simple as defining a label in the correct format. This is explained under "Script Structure" in the original post.
Quote:
We could zoom in/out into various regions and so have 1000's of hotkey/automation buttons in front of us. :)

Honestly, tools like nDroid and Launchy (even the Vista start menu!) seem considerably more efficient to me than something like enterpad; even more so the more buttons you have.
Quote:
This package seems not to include gestures for
    copy
    paste
    cut
    delete
    undo
and these are among the most general operations used all over applications.
These are all operations I generally perform while at least my left hand is on the keyboard. I originally had gestures for them, but never used them.

The default gestures aren't about performing common actions with the mouse, they are about what I find useful (as with all of my automation scripts.)
Quote:
What do I have to keep if I only want
Code:
Gesture_U = #p
from Gestures.ini
Simply delete everything else, of course. There are also gestures defined in Gestures Default.ahk, as Gesture_* labels.
Quote:
Toggling "Show Desktop Icons" using a gesture
As mentioned above and in the original post, any gesture may be scripted. For Show Desktop Icons, see MisterW's post.
Quote:
keeping them unvisible all the time is not a bad idea
...except that it increases the time needed to find and activate an icon. It's inefficient enough having to hide windows to reveal the icons.


On the other hand, there is one major feature I have wanted for a long time: radial menus. There is radialM, but frankly, it's an eyesore (I intend to make good use of layered windows), and not nice to set up. The next major (as in long way off) version of Mouse Gestures will incorporate radial menus, basically as a cue of which direction to move the mouse. This will also make it easier to "aim" with >8 directions. It would also help for rarely-used gestures, but I tend to remove gestures that I rarely or never use.

Another application is dynamic gestures/radial menus. For instance, you could hypothetically have a gesture show a radial menu with your most used desktop icons. The advantages would be:
  • no need to hide or move windows;
  • no need to show desktop icons, ever; and
  • you may flick the mouse in the appropriate direction instead of aiming at a relatively small icon.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 1:59 am 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
lexiKos wrote:
Simply delete everything else, of course. There are also gestures defined in Gestures Default.ahk, as Gesture_* labels.
In Gestures.ahk, what can I delete there, everything? :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 4:10 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
automaticman wrote:
In Gestures.ahk, what can I delete there, everything? :?
Sure, if you want the script to become completely useless. :shock: You may want to delete the hard-coded XButton hotkeys. The rest of Gestures.ahk provides important functionality (plus the tray menu/icon and sounds.)

In Gestures Default.ahk you may delete everything after:
Code:
; END INITIALIZATION
return
Take care not to delete the Gesture_Default subroutine if you want to keep the original function of your gesture key.

Everything above ; END INITIALIZATION provides default values for the script. These can be edited, or overridden by Gestures.ini. If you delete all of these values, the script won't work.
I wrote:
Gestures.ahk contains the "gesture engine," while Gestures Default.ahk contains the default settings and any gestures which are implemented in script (vs pure keystrokes.) Gestures.ini is used to override settings, or define pure keystroke gestures.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 6:23 am 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
lexiKos wrote:
You may want to delete the hard-coded XButton hotkeys. ...
I couldn't find any definitions for XButton1 and XButton2 anywhere. They are used in Gestures.ahk but the definitions? :(
Quote:
In Gestures Default.ahk you may delete everything after:
Code:
; END INITIALIZATION
return
This I did already before. I had a side/parasite effect to my previous right mouse click functionality (which I was using to close windows when clicked onto the window top anywhere). Now it works only after a given time.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 2:32 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
automaticman wrote:
I couldn't find any definitions for XButton1 and XButton2 anywhere. They are used in Gestures.ahk but the definitions? :(
They are "defined" in the same place as every other key name: the manual.
Quote:
I had a side/parasite effect to my previous right mouse click functionality (which I was using to close windows when clicked onto the window top anywhere). Now it works only after a given time.
If the script didn't delay click pass-through, you'd end up doing things like right-click dragging files when you intend to draw a gesture.

With such limited information on this "side/parasite effect", I can only suggest that you merge it with the GestureKey_Down subroutine in Gestures.ahk.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 3:38 pm 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
Thanks lexiKos for your help, I just decided that I don't really have a need for mouse gestures.

The separation of pc keyboard and mouse is the worst thing imo for input machines. There should be better solutions than using a mouse which is just slowing you down in the end. Something which would be already in your hand and like controlling the screen movement with your hand in the air for example. (I'm sure there are already similar solutions. The question is why they are not used everywhere already and how cheap/expensive they are?)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 23rd, 2008, 5:38 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
automaticman wrote:
There should be better solutions than using a mouse which is just slowing you down in the end.
I won't try to convince you that gestures are the way to go, but gestures certainly aren't slowing me down. You suggested earlier that you "would have to leave the keyboard" to use a mouse gesture. I use gestures because the mouse is the natural resting place of my hand; i.e. I use gestures so I don't have to switch between the keyboard and mouse as often.
Quote:
Something which would be already in your hand and like controlling the screen movement with your hand in the air for example.
Google the "air mouse". ;)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 24th, 2008, 1:13 am 
Offline

Joined: October 27th, 2006, 10:12 am
Posts: 649
lexiKos wrote:
Google the "air mouse". ;)
Thanks, you mean something like this http://www.youtube.com/watch?v=n4sdmjTU33A ?
If yes, that's not better.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 24th, 2008, 1:53 am 
Offline

Joined: May 24th, 2007, 3:45 am
Posts: 1121
lexiKos wrote:
I use gestures because the mouse is the natural resting place of my hand; i.e. I use gestures so I don't have to switch between the keyboard and mouse as often.

Yes, for me the thing is I like to have several ways to do things. For instance there are at least three different shortcuts each for Cut, Copy and Paste on a standard Windows computer, not counting the Edit menu. I use all of them at different times depending on where my hands are.

So I don't think of mouse gestures as a replacement for other ways to do things just an extra way that's especially convenient if you already have your hand on the mouse.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 25th, 2008, 4:08 pm 
Hey all,

Thanks for a great collection of scripts!

Since I've just recetly started to use it, I try to focus on a selected amount of commands. In my case these are (with my remappings)

Mouse hold + Up = maximize
Mouse hold + Down = maximize
Mouse hold + Left-right
Right-lef = restore window state.

However, earlier I´ve used a minimize window function by hitting CAPS LOCK. The neat thing with it, is when CAPS LOCK is being clicked, the windows, active or nor, gets minimized.

So my suggestion. Expand the routines in your scripts to include the ability to minimize/maximize even unactive windows which the mouse pointer hovers over.

This code was found in this forums and it might be helpful:

Code:
CapsLock::
  MouseGetPos,,, aID
  WinGet, Style, Style, ahk_id %aID%
  If ( Style & ( WS_MINIMIZEBOX := 0x20000) )
     WinMinimize, ahk_id %aID%
Return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 25th, 2008, 10:15 pm 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7501
Location: Australia
gechu wrote:
So my suggestion. Expand the routines in your scripts to include the ability to minimize/maximize even unactive windows which the mouse pointer hovers over.
I tend to ignore where the mouse is, expecting the gesture to work in the active window. If you want the functionality, use a Gesture_* label (most are in Gestures Default.ahk).
Code:
Gesture_D: ; down
Gesture_U: ; up


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 107 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 8  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 19 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