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 

How to disable a hotkey/replace text in a script??

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



Joined: 28 Nov 2008
Posts: 111
Location: United Kingdom

PostPosted: Sat Mar 21, 2009 9:48 pm    Post subject: How to disable a hotkey/replace text in a script?? Reply with quote

Hey im working on a program for expanding abbreviations ( e.i. "brb" into "br right back" ), I only want these to work in certain windows and so I was wondering if there is a way to disable them.

I'm using the script like this
Code:

::brb::be right back

if that helps atall.
_________________
Adam
http://moourl.com/8w0tx
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hezzu



Joined: 08 Aug 2008
Posts: 117
Location: Raahe, Finland

PostPosted: Sat Mar 21, 2009 11:09 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/Suspend.htm
_________________
Hezzu - excuse the english!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
animeaime



Joined: 04 Nov 2008
Posts: 1045

PostPosted: Sun Mar 22, 2009 6:00 am    Post subject: Reply with quote

Look up Hotstrings -> Context-sensitive Hotstrings.
_________________
As always, if you have any further questions, don't hesitate to ask.

Add OOP to your scripts via the Class Library. Check out my scripts.
Back to top
View user's profile Send private message Send e-mail
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