AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disabling AHK using a global hotkey.

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Pyro
Guest





PostPosted: Mon Aug 21, 2006 8:14 pm    Post subject: Disabling AHK using a global hotkey. Reply with quote

I use ahk to remap hotkeys in DOTA for warcraft 3 so i can put my spell keys closer toogether, unfortunately, this results in very wieird messages when i try to chat so i am wondering if there is a way to disable and enable AHK form warcraft 3 using a hotkey.
Back to top
Guest






PostPosted: Mon Aug 21, 2006 8:23 pm    Post subject: Reply with quote

i know that you can bind something to suspend but how do i bind it to toggle, like ^d::suspend
and then when u press it again to resume
Back to top
silveredge78



Joined: 25 Jul 2006
Posts: 481
Location: Midwest, USA

PostPosted: Mon Aug 21, 2006 10:56 pm    Post subject: Reply with quote

Look up the Pause command.
_________________
SilverEdge78
Back to top
View user's profile Send private message
MsgBox
Guest





PostPosted: Mon Aug 21, 2006 11:26 pm    Post subject: Reply with quote

Hello Guest

Quote:
i know that you can bind something to suspend but how do i bind it to toggle, like ^d::suspend
and then when u press it again to resume

Like this Laughing :
Code:
^d::suspend

TFManual wrote:
Suspend

--------------------------------------------------------------------------------

Disables or enables all or selected hotkeys.

Suspend [, Mode]



Parameters

Mode On: Suspends all hotkeys except those explained the Remarks section.

Off: Re-enables all hotkeys.

Toggle (default): Changes to the opposite of its previous state (On or Off).

Permit: Does nothing except mark the current subroutine as being exempt from suspension.


Or this:
silveredge78 wrote:
Look up the Pause command.
Back to top
jtbalogh



Joined: 05 Feb 2006
Posts: 35

PostPosted: Mon Oct 02, 2006 11:47 pm    Post subject: Reply with quote

I use this because suspending prevented me from using the d-key too.

^d::
Suspend, Permit ; disable all hotkeys, except this one and other permitted ones
Suspend
return
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group