Jump to content
Sign in to follow this  
Mosquitos

Right Click Mouse

Recommended Posts

Mosquitos

Is it possible to enable - disable the rightclick button of your mouse in windows with a au3 script?


Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites
Xenobiologist

Is it possible to enable - disable the rightclick button of your mouse in windows with a au3 script?

Hi,

just one question. Should it stay disabled after the script has end, or sould it only be disabled during the script is running?

The second you can reach be PROSA: _isPressed(rightMouse) .... then do nothing.

So long,

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
Mosquitos

Hi,

just one question. Should it stay disabled after the script has end, or sould it only be disabled during the script is running?

The second you can reach be PROSA: _isPressed(rightMouse) .... then do nothing.

So long,

Mega

I want to use it fore other people(gast) to log in on my computer but that they not can use the rightclick button.


Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites
Xenobiologist

I want to use it fore other people(gast) to log in on my computer but that they not can use the rightclick button.

Maybe have a look at start --> run --> gpedit.msc

So long,

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
Mosquitos

Maybe have a look at start --> run --> gpedit.msc

So long,

Mega

gpedit.msc is that not only for xp pro?


Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites
Xenobiologist

gpedit.msc is that not only for xp pro?

Yes, I think so. Group policies are supported in XP Pro.

What do you want to avoid for the "gast" (guest) user?

Every context menu? Only the context menu on the desktop?

So long,

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
Mosquitos

Yes, I think so. Group policies are supported in XP Pro.

What do you want to avoid for the "gast" (guest) user?

Every context menu? Only the context menu on the desktop?

So long,

Mega

Every context menu


Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites
Xenobiologist

Ahhh... simple:

#include <Misc.au3> 
while 1
  If _IsPressed(0x02) Then Send("{ENTER}")
  Sleep(250)
Wend

#)

Hi,

that would have been too easy. Try your code. It doesn´t work.

So long,

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  

×

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.