Advertising
Advertising

10 Ways to Use AutoHotKey to Rock Your Keyboard

10 Ways to Use AutoHotKey to Rock Your Keyboard
AutoHotKey

If you are into productivity on your computer, you probably already use your keyboard and its shortcuts as much as possible. And if you’re on Windows, you’ve probably also check out the awesome potential of AutoHotKey, which can make your keyboard hum like nobody’s business.

But most people haven’t tapped into the true power of AHK, and explored all the ways it can turn the keyboard into a productivity machine.

For Mac users, you already have the fantabulously wonderful Quicksilver, and if that doesn’t completely meet your needs, try TypeIt4Me for text expansion.

To learn more about setting up AHK scripts, text expansion, shortcut keys, macros and more, see this tutorial.

Here are 10 ways to use AutoHotKey to rock your keyboard:

Advertising


1. Multiple sigs. If you use different signatures for work, personal use, blogging, etc., use AHK’s super handy text replacement feature to make shortcuts for each sig. For example, I have wsig and wsig2 for my two different work signatures, bsig for my blog signature, and psig and psig2b for my two different personal signatures. Type in 3 or 4 keystrokes, and it automatically expands to your full signature.

Example:
::wsig::Your Name{enter}Your Title{enter}Your Company Name{enter}Your Contact Info

2. Favorite folders. Do you open a few folders several times a day? End the endless double-clicking by setting up shortcuts to your favorite folders. I have about 5 folders I use every day, and their shortcuts save me loads of time. The following example sets up the Windows key + 0 to open a folder (the “#” symbol stands for Windows key in AHK scripting language).

Example:
#0::Run C:\Documents and Settings\YourUsername\My Documents\YourFolder\YourSubfolder

3. Websites. Do you have favorite sites or pages that you go to numerous times a day? We all do. While Firefox has a great keyword bookmarking feature, AHK’s shortcut keys are even faster. I have about 10 sites set up for all my favorite web pages.

Advertising

Example:
#l::Run http://www.lifehack.org

4. App launcher. Throw away your favorite app launcher. AHK eliminates the need for a separate program for launching applications, because you can tie any application to any keyboard shortcut.

Example:
#f::Run Firefox

5. Common documents. You’re starting to see the theme here. Any documents you use often, such as a letter template or certain spreadsheets, can also be given shortcuts.

Example:
#4::Run C:\Documents and Settings\YourUsername\My Documents\YourFolder\Letter.doc

Advertising

6. Common emails. If you type a lot of the same emails, day in and day out, set up simple text expansion scripts (such as the signature example above) and put in the text of your common emails. See this article for more info.

7. Autocorrect in any application. Blogger Jim Biancolo used Wikipedia’s list of the most common misspellings as a starting point to create this script, which autocorrects your misspelled words as you type — in any application. He added to the list the autocorrected words in Microsoft Word, plus a bunch of his own common misspellings. Very handy.

8. Quick Google or Wikipedia searches. Again, Firefox has the very cool smart keyword search feature, but AHK can put your common searches in any app. Highlight the work, press you hotkey, and voila! The following scripts allow the user to search for a particular word or phrase using Google or Wikipedia. After selecting the text from any application, pressing the configurable hotkey (Win + g for Google search, Win + w for Wikipedia) will open the default browser and perform the search.

Example:
#g:: Send, ^c Run, http://www.google.com/search?q=%Clipboard% Return
#w:: Send, ^c Run, http://en.wikipedia.org/wiki/Special:Search?search=%Clipboard% Return

9. Blogging markup. If you do a lot of blogging or html coding, you know that typing html codes or having to press buttons to put the codes in can be very repetitive. Automate it by having AHK automatically type the beginning and ending codes for you. Then all you gotta do is write great content. Adam Pash compiled a handy little script for bloggers here.

Advertising

10. Use Insert for Clipboard tool. I don’t know about you, but I never use the Insert key — in fact, it just messes me up. Biancolo did this little script to remap the Insert key to give it some super-useful functionality: it adds whatever you have highlighted to the clipboard.

For even cooler scripts, see this list for ways to configure or enhance your keyboard.

What are your favorite ways of using AHK? Let us know in the comments.

More by this author

How to Find Your Passion and Live a Fulfilling Life The Gentle Art of Saying No Simple Productivity: 10 Ways to Do More by Focusing on the Essentials How to Pare Your To-do List Down to the Essentials A Guide to Becoming a Better Writer: 15 Practical Tips

Trending in Featured

1 Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny 2 How to Become an Expert (And Spot out One Nearby) 3 How to Find Your Passion and Live a Fulfilling Life 4 How to Stay Motivated and Reach Your Goals 5 5 Key Characteristics of a Successful Entrepreneur

Read Next

Advertising
Advertising

Last Updated on September 17, 2018

Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny

Why Do I Have Bad Luck? 2 Simple Things to Change Your Destiny

Are you one of those people who are always suffering setbacks? Does little ever seem to go right for you? Do you sometimes feel that the universe is out to get you? Do you wonder:

Why do I have bad luck?

Let me let you into a secret:

Your luck is no worse—and no better—than anyone else’s. It just feels that way. Better still, there are two simple things you can do which will reverse your feelings of being unlucky.

1. Stop believing that what happens in your life is down to the vagaries of luck, destiny, supernatural forces, malevolent other people, or anything else outside your self.

Psychologists call this “external locus of control.” It’s a kind of fatalism, where people believe that they can do little or nothing personally to change their lives.

Because of this, they either merely hope for the best, focus on trying to change their luck by various kinds of superstition, or submit passively to whatever comes—while complaining that it doesn’t match their hopes.

Advertising

Most successful people take the opposite view. They have “internal locus of control.” They believe that what happens in their life is nearly all down to them; and that even when chance events occur, what is important is not the event itself, but how you respond to it.

This makes them pro-active, engaged, ready to try new things, and keen to find the means to change whatever in their lives they don’t like.

They aren’t fatalistic and they don’t blame bad luck for what isn’t right in their world. They look for a way to make things better.

Are they luckier than the others? Of course not.

Luck is random—that’s what chance means—so they are just as likely to suffer setbacks as anyone else.

What’s different is their response. When things go wrong, they quickly look for ways to put them right. They don’t whine, pity themselves, or complain about “bad luck.” They try to learn from what happened to avoid or correct it next time and get on with living their life as best they can.

Advertising

No one is habitually luckier or unluckier than anyone else. It may seem so, over the short term (Random events often come in groups, just as random numbers often lie close together for several instances—which is why gamblers tend to see patterns where none exist).

When you take a longer perspective, random chance is just . . . random. Yet those who feel that they are less lucky, typically pay far more attention to short-term instances of bad luck, convincing themselves of the correctness of their belief.

Your locus of control isn’t genetic. You learned it somehow. If it isn’t working for you, change it.

2. Remember that whatever you pay attention to grows in your mind.

If you focus on what’s going wrong in your life—especially if you see it as “bad luck” you can do nothing about—it will seem blacker and more malevolent.

In a short time, you’ll become so convinced that everything is against you that you’ll notice more and more instances where this appears to be true. As a result, you will almost certainly stop trying, convinced that nothing you can do will improve your prospects.

Fatalism feeds on itself until people become passive “victims” of life’s blows. The “losers” in life are those who are convinced they will fail before they start anything; sure that their “bad luck” will ruin any prospects of success.

Advertising

They rarely notice that the true reasons for their failure are ignorance, laziness, lack of skill, lack of forethought, or just plain foolishness—all of which they could do something to correct, if only they would stop blaming other people or “bad luck” for their personal deficiencies.

Your attention is under your control. Send it where you want it to go. Starve the negative thoughts until they die.

To improve your fortune, first decide that what happens is nearly always down to you; then try focusing on what works and what turns out well, not the bad stuff.

Your “fate” really does depend on the choices that you make. When random events happen, as they always will, do you choose to try to turn them to your advantage or just complain about them?

Thomas Jefferson is said to have used these words:

“I’m a great believer in luck and I find the harder I work, the more I have of it.”

Ralph Waldo Emerson said:

“Shallow men believe in luck. Strong men believe in cause and effect.”

Your luck, in the end, is pretty much what you choose it to be.

Featured photo credit: LoboStudio Hamburg via unsplash.com

Read Next