| View previous topic :: View next topic |
| Author |
Message |
rockum
Joined: 20 Dec 2007 Posts: 22
|
Posted: Wed Feb 17, 2010 3:27 am Post subject: Swallow command like in glovepie |
|
|
| Glovepie will allow you to "swallow" mouse movements and keyboard keys on a per device basis. |
|
| Back to top |
|
 |
Tuncay
Joined: 07 Nov 2006 Posts: 1886 Location: Germany
|
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Wed Feb 17, 2010 12:42 pm Post subject: |
|
|
| Quote: | | A very cool feature is that you can now swallow keys. When you swallow keys, other programs will not be able to read them. Only GlovePIE will be able to read them. |
_________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
Tuncay n-l-i mobile Guest
|
Posted: Wed Feb 17, 2010 6:18 pm Post subject: |
|
|
and what does that mean? Sounds like hotkeys which are bind to specific window with #ifwinactive.
Or is it a sort of security feature? |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Wed Feb 17, 2010 9:39 pm Post subject: |
|
|
I have no idea, but this is from the wiki | Quote: | Swallowing the Mouse
Not as tasty as it sounds. This is actually about stopping windows from receiving real messages from the System mouse (that is from all the real mice), but still receive those messages that are set by GlovePIE.
This only works on Windows 2000 or above. And I don’t think it works with DirectInput games.
It is mainly for use with fake cursors, or with multiple mice. But it can also be used to disable the mouse for any other purpose.
Mouse.Swallow can be set to true to disable the entire mouse, or false to not do that. This prevents the mouse from doing anything in Windows. But you can still set Mouse.LeftButton or Mouse.CursorPosX or whatever to control the mouse cursor. It just won’t be controlled by any of the real mice.
Mouse.SwallowButtons is the same, but it only disables the buttons.
Mouse.SwallowMovement only disables movement.
Mouse.SwallowWheels only disables scroll-wheels.
An unfortunate side-effect of swallowing the mouse is that clicking on GlovePIE’s title bar by controlling the mouse with GlovePIE will temporarily make it hang until you press Alt+Tab, or wait umpteen seconds.
Swallowing the mouse is good for when you want one mouse to control the real cursor, and all the other mice to only control fake cursors. The trick is the swallow the mouse, then set all the mouse values to match mouse1. Then you set the fake cursors to match mouse2.
See the MouseParty.PIE script for an example. | see http://glovepie.org/w/index.php?title=Preliminary_Documentation_v0.43 _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
|