Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > News > Mac News > Pointers: built-in text shortcuts in OS X and iOS 8

Pointers: built-in text shortcuts in OS X and iOS 8
Thread Tools
NewsPoster
MacNN Staff
Join Date: Jul 2012
Status: Offline
Reply With Quote
Feb 23, 2015, 10:56 AM
 
It's a funny world where most Mac users have heard of TextExpander by Smile Software, but so many of us don't even know that OS X has much of the same functionality built in for free. Strictly speaking, it is identical: your Mac can let you type a few characters, and it will expand that out into whole sentences, phone numbers you keep repeating, words you always find difficult to spell, and more -- assuming you've done some pre-configuration.


In practice, there is a world of difference -- and if we've raved about TextExpander before, we only like it even more now. OS X calls its version Shortcuts, and it's very limited. It won't expand out entire paragraphs, it won't automatically insert today's date where you want that. It won't ask you questions and then use your answers in the expanded text. For all of that, you do need TextExpander -- and we recommend it.

However, what OS X does, it does nicely and handily. Plus, the little expanding shortcuts you create on OS X automatically go over to iOS and vice versa.

So here's what you can do, here's how to do it, and also here is where to set it all up. We did this in OS X Yosemite and iOS 8, but the core functions have been hidden away within both for a long time.



First, OS X

On your Mac, go to System Preferences, choose Keyboard and then click on Text. You're interested only in the Replace and With panels, which may have come with some examples or may be bare.

We're going to steal a TextExpander term here and call everything in the Replace column a "trigger." When you type something in that list, it triggers your Mac into action. The With column contains the actions.

Write your text

Click on the plus sign on the bottom left. Now type a trigger, and either tab or click over to the With column and type what you want that trigger to become. It's important that you make the trigger something that is memorable but also something that you will never actually type without meaning to unleash the action -- so no using "addr" as the trigger for your address, unless you want that to happen every single time you type any word that starts with or contains "addr."

It's also important that you get the expanded text right. Say you have trouble spelling the word Beiderbecke: you could write a trigger like, say, 'xjazz' if you remember that Bix Beiderbecke was a jazzman. If you then mis-spell Beiderbecke in the With column, that mis-spelling will be what appears every time you type xjazz.

Use your triggers

You can use what you've created here in any application on your Mac. Wherever you can type, you can type a trigger.

Wherever you do it, as you start to type your trigger, OS X will offer to autocomplete those few characters. However, if you carry on typing to the end of that short trigger, OS X now offers the complete expanded sentence. It does this in exactly the way that it offers corrected spelling suggestions, and you use it exactly the same way. Press the space bar, and OS X enters your full text. Press the escape key or type any other letter to continue writing and OS X takes the suggestion away.



Next, iOS

It's exactly the same process except here you go to Settings, then choose General, Keyboard and lastly Shortcuts. It's so very much the same process that that would be that, except there are subtle differences.

One is just how the triggers are displayed in that Shortcut settings: for some reason, they are occasionally broken in to two lines. But as you create them by pressing the + at top right, you see the correct one line for trigger and one line for the replacement With text.

One gotcha

Just be aware of this. When you're in a new message on OS X Mail, and are using a trigger as you type in the address field, you can press tab or return. Whichever you press, Mail expands out that text correctly. If you do the same thing on iOS, though, be certain to press return.

Mail on iOS thinks a tab is part of a new email address, and you end up getting errors as it says you've got invalid addresses.

Do us a favor, and don't be a meathead

Just for us, please vow that you will never use this for passwords. You can, of course, and doubtlessly it's easier to type "xpassword" than it is "*&&kk11230%%meh," but if someone gets your phone, they have that password in plain sight in your keyboard shortcut settings. You're not using this password for everything you sign into, right? We didn't think so.

-- William Gallagher (@WGallagher)
( Last edited by NewsPoster; Mar 2, 2015 at 05:52 AM. )
     
Inkling
Grizzled Veteran
Join Date: Jul 2006
Location: Seattle
Status: Offline
Reply With Quote
Feb 23, 2015, 12:12 PM
 
TextExpander has an advantage over Apple's offerings. It offers time-saving dictionaries that correct common misspellings, add accents to European words, other neat things. Check out: http://smilesoftware.com/TextExpander/snippets.html
Author of Untangling Tolkien and Chesterton on War and Peace
     
Charles Martin
Mac Elite
Join Date: Aug 2001
Location: Maitland, FL
Status: Offline
Reply With Quote
Feb 23, 2015, 02:38 PM
 
We not only noted TextExpander's extended abilities over the built-in functionality, we even linked to the company (and our review of TextExpander!), so I'm not sure how you missed that. But that doesn't mean people wouldn't find the built-in ability useful (not everyone needs all the features of programs like TextExpander, for example). I personally use Typinator rather than TextExpander, but I also use the Apple functionality as well for some general time-savers.
Charles Martin
MacNN Editor
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:32 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,