Jump to content
Sign in to follow this  
protoid

Blocking mouse input

Recommended Posts

protoid

Is there any way to block mouse input only and not keyboard input during the execution of a program?

Share this post


Link to post
Share on other sites
Swift

That doesn't really block it Justin. It just keeps it in the same spot. You can still right-click, left-click, middle-click...etc.

Share this post


Link to post
Share on other sites
d4rk

yoh, too late :)

Edited by d4rk

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites
protoid

and is there a way to use blockinput to block all but one key?

Share this post


Link to post
Share on other sites
d4rk

:)

#include <Misc.au3>
while 1
if _IsPressed("4a") then; for "J"
send({delete})
endif

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites
Swift

and is there a way to use blockinput to block all but one key?

Yep, it already does that! Haha Ctrl+Alt+Del are keys that block-input doesn't work on! :)

Share this post


Link to post
Share on other sites
protoid

Does _ispressed work while input is blocked?

I can't get it to...

Share this post


Link to post
Share on other sites
d4rk

Does _ispressed work while input is blocked?

I can't get it to...

no, _ispressed can't work while input is blocked, in my previous post, i just want to stop user from send a "J" by sending a delete (to delete the "J"), you can do it with all the another key, except 1 key as you want, i don't think this is a good solution, but that's all i can think now

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

Share this post


Link to post
Share on other sites
rasim

Hi guy`s see here :)

Share this post


Link to post
Share on other sites
protoid

thanks guys! program's done, now it's time to sleep... :)

Edit: btw- is there a fast/easy way to make the cursor invisible?

Edited by protoid

Share this post


Link to post
Share on other sites
Xenobiologist

Hi,

maybe GUISetCursor with 16

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×