Garanator Posted December 20, 2005 Share Posted December 20, 2005 (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 December 20, 2005 by Garanator Link to comment Share on other sites More sharing options...
seandisanti Posted December 20, 2005 Share Posted December 20, 2005 Ok this is what I am doingFunc 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}")EndIfWhile 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 Link to comment Share on other sites More sharing options...
Garanator Posted December 20, 2005 Author Share Posted December 20, 2005 (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 calledAll 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 December 20, 2005 by Garanator Link to comment Share on other sites More sharing options...
seandisanti Posted December 20, 2005 Share Posted December 20, 2005 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 unhotkeysetso then the answer i gave you was the correct one. cool. Link to comment Share on other sites More sharing options...
Garanator Posted December 20, 2005 Author Share Posted December 20, 2005 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 Link to comment Share on other sites More sharing options...
seandisanti Posted December 20, 2005 Share Posted December 20, 2005 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}")EndIfWhile 1 Sleep(10)Send("b")HotKeySet("b", "Block")MouseMove(449,167, 2)MouseClick("left")Sleep(500)MouseMove(203,226, 2)MouseClick("left")blah blah blahHotkeyset("b", "") <----Thats all there was to it?WEndEndFuncyep. Link to comment Share on other sites More sharing options...
Ghastly_MIB Posted December 20, 2005 Share Posted December 20, 2005 Or just without a function... Hotkeyset("b") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now