Jump to content
Sign in to follow this  
Garanator

How do you unset a hotkeyset?

Recommended Posts

Garanator

Ok this is what I am doing

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b") <--------------How would I unblock this after all the mouse moves?

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

Edit--- I don't wanna use blockinput either

Edited by Garanator

Share this post


Link to post
Share on other sites
seandisanti

Ok this is what I am doing

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b") <--------------How would I unblock this after all the mouse moves?

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

not really sure what you mean by your example, but based off of the topic: you unassign a hotkey by calling hotkeyset() with the key, and an empty string "" as the function to be called

Share this post


Link to post
Share on other sites
Garanator

not really sure what you mean by your example, but based off of the topic: you unassign a hotkey by calling hotkeyset() with the key, and an empty string "" as the function to be called

All the hotkeys are blocked and if i unhotkey them they can be used again so if i put something like unhotkeyset at bottom of mouse moves it should when it repeats itself send b.

Edit-- I just need an actual unhotkeyset

Edited by Garanator

Share this post


Link to post
Share on other sites
seandisanti

All the hotkeys are blocked and if i unhotkey them they can be used again so if i put something like unhotkeyset at bottom of mouse moves it should when it repeats itself send b.

Edit-- I just need an actual unhotkeyset

so then the answer i gave you was the correct one. cool.

Share this post


Link to post
Share on other sites
Garanator

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b")

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

blah blah blah

Hotkeyset("b", "") <----Thats all there was to it?

WEnd

EndFunc

Share this post


Link to post
Share on other sites
seandisanti

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b")

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

blah blah blah

Hotkeyset("b", "") <----Thats all there was to it?

WEnd

EndFunc

yep. :P

Share this post


Link to post
Share on other sites
Ghastly_MIB

Or just without a function...

Hotkeyset("b")

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.