Jump to content

Recommended Posts

Posted (edited)

Thi disable the letter s, don't know if possible with shift, ctrl, alt, and winkey..

HotKeySet("s","disable_s")
func disable_s()
    send("")
EndFunc

while 1
    sleep(100)
WEnd
Edited by slightly_abnormal
Posted (edited)

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
Posted (edited)

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
Posted

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.

Posted

Thanks, and is there any way to disable the left click on the mouse?

Also, I didn't understand WinSetOnTop even when I was in the help file

Posted

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

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
  • Recently Browsing   0 members

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