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

Leo Babauta

Founder of Zen Habits and expert in habits building and goals achieving.

The Gentle Art of Saying No For a Less Stressful Life What to Do in Free Time? 20 Productive Ways to Use the Time Simple Productivity: 10 Ways to Do More by Focusing on the Essentials How to Find Your Passion and Live a Fulfilling Life How to Pare Your To-do List Down to the Essentials

Trending in Featured

1 How to Become an Early Riser and Stay Energetic 2 The Art of Humble Confidence 3 How to Get Promoted When You Feel Stuck in Your Current Position 4 8 Steps to Continuous Self Motivation Even During the Difficult Times 5 The Pros and Cons of Working from Home

Read Next

Advertising
Advertising
Advertising

Last Updated on October 14, 2020

How to Become an Early Riser and Stay Energetic

How to Become an Early Riser and Stay Energetic

When you become an early riser, you’ll experience a lot of benefits, including feeling more energized and having more time to do what you want.

If you’d like to join the ranks of those waking up with the sun, there are some things you should know before you run off to set your alarm.

What exactly do you need to do to learn how to become an early riser?

Here are 5 tips I’ve discovered to be most helpful in making the transition from erratic sleeper or night owl to early morning wizard.

1. Choose to Get up Before You Go to Sleep

You’re not very good at making decisions when you’ve just woken up. You were in the middle of a dream in which [insert celebrity crush of choice here] is serving you breakfast in bed, only to be rudely awakened by the harsh tones of your alarm clock.

You’re frustrated, confused, and surprised. This is not the time to be making decisions about whether or not you should stay in bed! And yet, most of us leave the first decision of our day to be made in a blur of partial wakefulness.

No more!

Advertising

If you want to learn how to be an early riser, try making your decision to rise at a specific time before you go to sleep the night before. This frees you from making the decision in the morning when you’ve just woken up. Instead of making a decision, you only have to follow through on your decision from the night before.

Easier said than done? Of course. But only for the first few times. Eventually, your need for raw willpower to get out of bed will diminish, and you’ll be the proud parent of a new habit!

Steve Pavlina suggests you practice getting out of bed during the day[1] to get a few of the “practice sessions” out of the way without the early morning fog in your head.

2. Have a Plan for Your Extra Time

Let’s say you’ve actually made it out of bed 2 hours before you normally would. Now what? What are you going to do with all this time you’ve discovered in your day?

If you don’t have something planned to do with your extra time, you risk falling for the temptation of a “morning nap” that wipes out all the work you put into getting up.

To become an early riser, plan a great morning routine.

    Before you fall asleep, make a quick note of what you’d like to get done during your extra hours the following day. You could read a book, clean the garage, or write up that work report you’ve been putting off. Make a plan for when you wake up earlier, and you’ll do more than protect yourself from backsliding into bed.

    Advertising

    You’ll get things done, and those results will fuel your desire to build rising early into a habit!

    3. Make Rising Early a Social Activity

    Your internet or social media buddies just don’t have enough pull to make your new habit stick in the long term. The same cannot be said for the people you spend time with as part of your early morning routine.

    Sure, you could choose to read blogs for two hours every morning, but wouldn’t it be great to join an early breakfast club, running group, or play chess in the park at 5am?

    The more people you get involved in making your new habit a daily part of your life, the easier it’ll be to succeed.

    Consider finding an accountability partner who is also interested in becoming an early riser. Perhaps it’s a neighbor who you plan to go for a run with at 6 am. Or it could be your husband or wife, and you decide to get up earlier to spend more time together before the kids wake up.

    Learn more about finding the perfect accountability partner in this article.

    4. Don’t Use an Alarm That Makes You Angry

    If we’re all wired differently, why do we all insist on torturing ourselves with the same sort of alarm each morning?

    Advertising

    I spent years trying to wake up before my alarm went off so I wouldn’t have to hear it. I got pretty good, too. Then, I started using a cellphone as my alarm clock and quickly realized that different ring tones irritated me less but worked just as well to wake me up. I now use the ringtone alarm as a back-up for my bedside lamp, which I’ve plugged in to a timer.

    When the bright light doesn’t work, the cellphone picks up the slack, and I wake up on time. The lesson learned? Experiment a bit and see what works best for you as you try to become an early riser.

    Light, sound, smells, temperature, or even some contraption that dumps water on you might be more pleasant than your old alarm clock. Give something new a try!

    One final thing you can do is put your alarm at least several feet from your bed. If it’s within arm’s reach, you’ll be tempted to hit the snooze button. However, if you have to get out of bed to turn it off, you’ll be more likely to resist going back to sleep.

    5. Get Your Blood Flowing Right After Waking

    If you don’t have a neighbor you can pick fights with at 5 am, you’ll have to settle with a more mundane exercise. It doesn’t take much to get your blood flowing and chase the sleep from your head.

    Just pick something you don’t mind doing and go through the motions until your heart rate is up. Jumping rope, push-ups, crunches, or a few minutes of yoga are typically enough to do the trick. Here are 10 Simple Morning Exercises That Will Make You Feel Great All Day. (Just don’t do anything your doctor hasn’t approved.)

    If you’re going to go for a full-on morning workout, remember to give your body at least 15 minutes to get moving before you start[2]. Have a glass of water, stretch a bit, and then get into your workout.

    Advertising

    If you live in a beautiful part of the world like me, you might want to use a bit of your early morning to go for a walk and enjoy the beauty of the world around you.

    If you have a coffee shop open within walking distance, dragging yourself out of bed for a cup of coffee to savor on your walk home as the world wakes around you is a wonderful experience. Try it, and you’ll enjoy becoming an early riser!

    Final Thoughts

    Creating a new habit is always a challenge, especially if that habit is forcing you out of the comfort of your bed before the sun is even up. However, early risers enjoy increased productivity, higher levels of concentration, and even healthier eating habits[3]!

    Those are all great reasons to give it a try and get up a few minutes earlier. Try getting to bed a bit earlier and learn how to become an early riser with the above tips and conquer your days.

    More on How to Become an Early Riser

    Featured photo credit: Nomadic Julien via unsplash.com

    Reference

    Read Next