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 7 Simple Rules to Live by to Get in Shape in Two Weeks 2 5 Practical Ways to Get Over a Mental Block 3 How to Learn Something New Every Day and Stay Smart 4 35 Top Productivity Apps for iPhone (2020 Updated) 5 The Gentle Art of Saying No For a Less Stressful Life

Read Next

Advertising
Advertising
Advertising

Last Updated on September 18, 2020

7 Simple Rules to Live by to Get in Shape in Two Weeks

7 Simple Rules to Live by to Get in Shape in Two Weeks

Learning how to get in shape and set goals is important if you’re looking to live a healthier lifestyle and get closer to your goal weight. While this does require changes to your daily routine, you’ll find that you are able to look and feel better in only two weeks.

Over the years, I’ve learned a lot about what it takes to get in shape. Although anyone can cover the basics (eat right and exercise), there are some things that I could only learn through trial and error. Let’s cover some of the most important points for how to get in shape in two weeks.

1. Exercise Daily

It is far easier to make exercise a habit if it is a daily one. If you aren’t exercising at all, I recommend starting by exercising a half hour every day. When you only exercise a couple times per week, it is much easier to turn one day off into three days off, a week off, or a month off.

If you are already used to exercising, switching to three or four times a week to fit your schedule may be preferable, but it is a lot harder to maintain a workout program you don’t do every day.

Be careful to not repeat the same exercise routine each day. If you do an intense ab workout one day, try switching it up to general cardio the next. You can also squeeze in a day of light walking to break up the intensity.

Advertising

If you’re a morning person, check out these morning exercises that will start your day off right.

2. Duration Doesn’t Substitute for Intensity

Once you get into the habit of regular exercise, where do you go if you still aren’t reaching your goals? Most people will solve the problem by exercising for longer periods of time, turning forty-minute workouts into two hour stretches. Not only does this drain your time, but it doesn’t work particularly well.

One study shows that “exercising for a whole hour instead of a half does not provide any additional loss in either body weight or fat”[1].

This is great news for both your schedule and your levels of motivation. You’ll likely find it much easier to exercise for 30 minutes a day instead of an hour. In those 30 minutes, do your best to up the intensity to your appropriate edge to get the most out of the time.

3. Acknowledge Your Limits

Many people get frustrated when they plateau in their weight loss or muscle gaining goals as they’re learning how to get in shape. Everyone has an equilibrium and genetic set point where their body wants to remain. This doesn’t mean that you can’t achieve your fitness goals, but don’t be too hard on yourself if you are struggling to lose weight or put on muscle.

Advertising

Acknowledging a set point doesn’t mean giving up, but it does mean realizing the obstacles you face.

Expect to hit a plateau in your own fitness results[2]. When you expect a plateau, you can manage around it so you can continue your progress at a more realistic rate. When expectations meet reality, you can avoid dietary crashes.

4. Eat Healthy, Not Just Food That Looks Healthy

Know what you eat. Don’t fuss over minutia like whether you’re getting enough Omega 3’s or tryptophan, but be aware of the big things. Look at the foods you eat regularly and figure out whether they are healthy or not. Don’t get fooled by the deceptively healthy snacks just pretending to be good for you.

The basic nutritional advice includes:

  • Eat unprocessed foods
  • Eat more veggies
  • Use meat as a side dish, not a main course
  • Eat whole grains, not refined grains[3]

Advertising

Eat whole grains when you want to learn how to get in shape.

    5. Watch Out for Travel

    Don’t let a four-day holiday interfere with your attempts when you’re learning how to get in shape. I don’t mean that you need to follow your diet and exercise plan without any excursion, but when you are in the first few weeks, still forming habits, be careful that a week long break doesn’t terminate your progress.

    This is also true of schedule changes that leave you suddenly busy or make it difficult to exercise. Have a backup plan so you can be consistent, at least for the first month when you are forming habits.

    If travel is on your schedule and can’t be avoided, make an exercise plan before you go[4], and make sure to pack exercise clothes and an exercise mat as motivation to keep you on track.

    6. Start Slow

    Ever start an exercise plan by running ten miles and then puking your guts out? Maybe you aren’t that extreme, but burnout is common early on when learning how to get in shape. You have a lifetime to be healthy, so don’t try to go from couch potato to athletic superstar in a week.

    If you are starting a running regime, for example, run less than you can to start. Starting strength training? Work with less weight than you could theoretically lift. Increasing intensity and pushing yourself can come later when your body becomes comfortable with regular exercise.

    Advertising

    7. Be Careful When Choosing a Workout Partner

    Should you have a workout partner? That depends. Workout partners can help you stay motivated and make exercising more fun. But they can also stop you from reaching your goals.

    My suggestion would be to have a workout partner, but when you start to plateau (either in physical ability, weight loss/gain, or overall health) and you haven’t reached your goals, consider mixing things up a bit.

    If you plateau, you may need to make changes to continue improving. In this case it’s important to talk to your workout partner about the changes you want to make, and if they don’t seem motivated to continue, offer a thirty day break where you both try different activities.

    I notice that guys working out together tend to match strength after a brief adjustment phase. Even if both are trying to improve, something seems to stall improvement once they reach a certain point. I found that I was able to lift as much as 30-50% more after taking a short break from my regular workout partner.

    Final Thoughts

    Learning how to get in shape in as little as two weeks sounds daunting, but if you’re motivated and have the time and energy to devote to it, it’s certainly possible.

    Find an exercise routine that works for you, eat healthy, drink lots of water, and watch as the transformation begins.

    More Tips on Getting in Shape

    Featured photo credit: Alexander Redl via unsplash.com

    Reference

    Read Next