| View previous topic :: View next topic |
| Author |
Message |
Alpha600 Guest
|
Posted: Sun Sep 23, 2007 2:27 am Post subject: Is it possible to unbind a default key? |
|
|
Amazing program, thanks devs =D
Now to me question. Is it possible to say "unbind" a key? For example, when I have a text box in XP, is it possible to "unbind" p so say when I press p it doesn't type it? Like I never pressed it? Then is it possible to make a custom action over top? I'm just wondering because I have some serious ideas with this and warcraft 3. |
|
| Back to top |
|
 |
Ian
Joined: 15 Jul 2007 Posts: 1158 Location: Enterprise, Alabama
|
Posted: Sun Sep 23, 2007 2:29 am Post subject: |
|
|
First question:
Second question:
I don't really know what you mean. try to be more clear. _________________ ScriptPad/~dieom/dieom/izwian2k7/Trikster/God
 |
|
| Back to top |
|
 |
Alpha600 Guest
|
Posted: Sun Sep 23, 2007 2:31 am Post subject: |
|
|
In dota, the key say "t" is used for pudge's hook. Is it possible to change it so when I press t, it's like I didn't. Instead it does what I do with Autohotkey. I think I can with your response. In other words, if I "unbind t" then I would go into notepad and not be able to type a "t".
In other words, can I make it act like I didn't press it and do custom actions, isntead of adding extra actions? |
|
| Back to top |
|
 |
POINTS
Joined: 18 Jan 2006 Posts: 284
|
Posted: Sun Sep 23, 2007 2:40 am Post subject: |
|
|
t in dota is still t in notepad. You could add a #IfWinActive Warcraft III to your script but then you wouldn't be able to type t in messages or in chatrooms.
You can edit your customkeys.txt to change the hotkey of pudge's hook. I don't think you can use none, but you can remap it escape or some other key that won't get in your way. _________________ My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/
Remap your hotkeys
Healthbars always on
Remap inventory |
|
| Back to top |
|
 |
Alpha600 Guest
|
Posted: Sun Sep 23, 2007 3:24 am Post subject: |
|
|
Okay I get what your saying to remap it to none.
But all over all, this is all I was trying to do. Once I figure out the coding engine in a day or two, I just wanted to rebind my favorite hero's keys to wsad and items to maybe zxcv etc.
The "t not occuring in notepad" was just an example. I saw all of your warcraft programs, but it seemed to not change the original keys. I was trying to change t to say q in a literal sense. I don't want to press "t" and have a hook fire. Get my point now? |
|
| Back to top |
|
 |
Alpha600 Guest
|
Posted: Sun Sep 23, 2007 3:43 am Post subject: |
|
|
Sorry for the doublepost.
I tried the above code (should of before) and it works great. Thanks.
Sorry for the waste of bandwidth. This is essentially what I wanted (minus the hard stuff I'm working on).
| Code: | t::
send {q}
return |
|
|
| Back to top |
|
 |
POINTS
Joined: 18 Jan 2006 Posts: 284
|
Posted: Mon Sep 24, 2007 7:04 am Post subject: Warkeys |
|
|
The companion program to Warkeys, AutoWarkey, let's you setup an autohotkey script. But if you can write your own script go for it!
Direct mapping will probably work better for you:
_________________ My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/
Remap your hotkeys
Healthbars always on
Remap inventory |
|
| Back to top |
|
 |
|