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 

Swallow command like in glovepie

 
Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
rockum



Joined: 20 Dec 2007
Posts: 22

PostPosted: Wed Feb 17, 2010 3:27 am    Post subject: Swallow command like in glovepie Reply with quote

Glovepie will allow you to "swallow" mouse movements and keyboard keys on a per device basis.
Back to top
View user's profile Send private message
Tuncay



Joined: 07 Nov 2006
Posts: 1886
Location: Germany

PostPosted: Wed Feb 17, 2010 9:39 am    Post subject: Reply with quote

What do you mean by swallow? And per device basis?
_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Wed Feb 17, 2010 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tuncay n-l-i mobile
Guest





PostPosted: Wed Feb 17, 2010 6:18 pm    Post subject: Reply with quote

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

PostPosted: Wed Feb 17, 2010 9:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Wish List 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