AutoHotkey Community

It is currently May 25th, 2012, 4:22 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: September 23rd, 2007, 2:27 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2007, 2:29 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
First question:

Code:
p::Return


Second question:

I don't really know what you mean. try to be more clear.

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2007, 2:31 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2007, 2:40 am 
Offline

Joined: January 18th, 2006, 12:37 am
Posts: 290
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2007, 3:24 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2007, 3:43 am 
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


Report this post
Top
  
Reply with quote  
 Post subject: Warkeys
PostPosted: September 24th, 2007, 7:04 am 
Offline

Joined: January 18th, 2006, 12:37 am
Posts: 290
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:
Code:
t::q

_________________
My AutoHotkey Program for Warcraft III:
Warkeys
http://warkeys.sourceforge.net/

Remap your hotkeys
Healthbars always on
Remap inventory


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, Exabot [Bot], vsub, Yahoo [Bot] and 31 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group