Sign in to follow this  
Followers 0
Garanator

How do you unset a hotkeyset?

7 posts in this topic

#1 ·  Posted (edited)

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



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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

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.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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

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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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  
Followers 0