Jump to content

Disable A Button On The Keyboard


Arez
 Share

Recommended Posts

HotKeySet("{Esc}","disable_esc")

func disable_esc()

send("")

EndFunc

while 1

sleep(100)

WEnd

Edit: esc button disable works

How would you disable the minimize key?

Edited by Arez
Link to comment
Share on other sites

When you press the windows key (to the left of the alt button) it minimizes. What would I put in the code to specify the windows key?

Also, what would I use for the / key?

HotKeySet("/","disable_/)

func disable_/()

send("")

EndFunc

I don't think that's right

Edited by Arez
Link to comment
Share on other sites

The key code for slash is just "/", and the key code for the Win key is {#}, but when I test it, it doesn't work. The helpfile has a big long section on the send keys, check index for Send Key List, that should help...

Note: I don't think you can have a forward slash in your function name...

---Sparkes.

Link to comment
Share on other sites

When you press the windows key (to the left of the alt button) it minimizes. What would I put in the code to specify the windows key?

Also, what would I use for the / key?

HotKeySet("/","disable_/)

func disable_/()

send("")

EndFunc

I don't think that's right

HotKeySet("/", "bye_bye_slash")
Func bye_bye_slash()
Send ("")
EndFunc
While 1
Sleep (100)
WEnd

:)

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...