Jump to content
Sign in to follow this  
WhiteAvenger

Block Keyboard & Mouse Input

Recommended Posts

WhiteAvenger

Hi,

I have a Remote Desktop Connection, where I don't want anyone to be able to control the remote PC while I'm on it.

If I block input using BlockInput(), can I still use the remote (ie virtual) mouse & keyboard?

Thanks

--WhiteAvenger

Share this post


Link to post
Share on other sites
flip2405

Hi,

I have a Remote Desktop Connection, where I don't want anyone to be able to control the remote PC while I'm on it.

If I block input using BlockInput(), can I still use the remote (ie virtual) mouse & keyboard?

Thanks

--WhiteAvenger

I am not honistly asking what this is used for because i am not being held responsiable

BlockInput(1) = disable

Blockinput(0) = enable

please read func refrance in help file

Share this post


Link to post
Share on other sites
TomZ

The best way to find out if blockinput will block the input from your remote desktop, is to try it like so:

BlockInput(1)

Sleep(10000)

BlockInput(0)

I don't think we can predict what kind of remote desktop software you have. Just try it out :D

Share this post


Link to post
Share on other sites
WhiteAvenger

I don't think we can predict what kind of remote desktop software you have.

Just the standard Windows Remote Desktop connection. But you're right, I'll just try it out :D I was being kind of lazy... :D

Share this post


Link to post
Share on other sites
flip209

Remote desktop logs whoever is in out. and they will not be able to see your screen unless they log you out. So, I am not sure why you would need to block the input.


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites
WhiteAvenger

Remote desktop logs whoever is in out. and they will not be able to see your screen unless they log you out. So, I am not sure why you would need to block the input.

Ah, that's interesting. Good to know, thank you!

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.