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 

hotstrings as hotkeys -- easier for me (examples)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
BengalTigger



Joined: 15 Aug 2007
Posts: 9

PostPosted: Tue Aug 21, 2007 5:10 pm    Post subject: hotstrings as hotkeys -- easier for me (examples) Reply with quote

I like shortcut keys, but have difficulty remembering the various shortcuts available in each software package (or which package doesn't use standard shortcuts). Using AutoHotKey presented the same problem for me, that I had to find unused key combinations and remember them.

I finally discovered that auto-replace can act like a hotkey. Now instead of shortcut key combinations I setup autoreplace strings.

Advantages:
--You are not limited by preexisting shortcuts, or by unusable key combinations.
--No key combinations that have to be held down together. Hotstrings are typed in sequence just as you would normally type any word.
--Hotstrings are easier to remember because you select the meaningful text that invokes them.

I prefix my hotstrings with my initials to keep them unique from strings used while typing normally. Plus, it allows me to use shorter hotstrings. For example, 'gr' probably wouldn't be unique enough to invoke google reader as it would invoke it every time you typed a word with 'gr' in it (grandmas great gravy), but 'xyzgr' is likely unique enough, and since I don't have trouble remembering my initials, it is easy enough to remember that xyzgr invokes google reader.

Examples: (I substituted xyz as my initials):

; open default browser and navigate to google rss reader
:*:xyzgr::
Run, http://www.google.com/reader
return

; Open my documents folder in windows explorer
:*:xyzmd::
Run, "C:\Documents and Settings\xyz account\My Documents"
return
Back to top
View user's profile Send private message AIM Address
TylerK



Joined: 21 Aug 2007
Posts: 7
Location: Springfield, IL

PostPosted: Tue Aug 21, 2007 9:30 pm    Post subject: Reply with quote

I like to do the same, only I choose the strings based on where the keys are physically located on the keyboard. For example:

Code:
; toggle mute
:*:qwer::
SoundSet, +1, , mute
return


For that I just roll the fingers on my left hand. You could even drag a finger over the face of the buttons. I once had something like this setup:

Code:

; open hidden folder
:*:qwerasdfzxcvasdfqwer1234::
Run, C:\some\secret\folder
return


My guitar playing improved considerably.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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