Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: Enter line breaks in text substitutions System 10.6
In the Language & Text System Preferences panel, on the Text tab, you can enter text to be replaced with symbols/longer text blocks - just click the Plus sign to enter a new substitution.

The hint here is that you can have it enter in new lines by using \n (backslash n). This is especially useful for email signing, as you can have something like rjs expand to:

Regards,
John Smith


[robg adds: Separately from this hint, Mac OS X Hints reader HairyPotter points out that you can enter your text in TextEdit (or other editor), then copy and paste it complete with line breaks in the Text tab. I also discovered you can force a new line by typing Option-Return directly in the Text tab.]
    •    
  • Currently 2.00 / 5
  You rated: 3 / 5 (11 votes cast)
 
[6,538 views]  

10.6: Enter line breaks in text substitutions | 5 comments | Create New Account
Click here to return to the '10.6: Enter line breaks in text substitutions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Enter line breaks in text substitutions
Authored by: arcticmac on Sep 08, '09 07:51:15AM

You can also do this (just like in Find dialogs) by typing option-return. Same thing ought to work for option-tab to get a tab character instead of moving to the next field. (I only tested option-return)



[ Reply to This | # ]
10.6: Enter line breaks in text substitutions
Authored by: osxpounder on Sep 08, '09 12:17:25PM

I don't know (yet) how this feature compares with TextExpander's text-replace feature, but now seems like a good time for me to praise & recommend TextExpander, one of my favorite apps. I'm not affiliated with its makers. I'm just a very happy user.

It does more than just auto-replacing text for you. I use it to type dates and times, for example. I type "ddate" and I get: Tuesday, September 8, 2009.

It's saved a lot of time, as well as hand pain, because it can type snippets that I'd otherwise be typing again & again, such as my department or company's name, or any of several ways I sign off an email. It's a must-have app for me now.

[ Reply to This | # ]

10.6: Enter line breaks in text substitutions
Authored by: tony_ on Sep 09, '09 10:19:26AM

I can't get text replacement working at all in mail.app. Anyone else having this issue?



[ Reply to This | # ]
10.6: Enter line breaks in text substitutions
Authored by: robg on Sep 09, '09 10:51:40AM

You need to enable them in the Edit -> Substitutions panel *within* a new Mail message.

-rob.



[ Reply to This | # ]
10.6: Enter line breaks in text substitutions
Authored by: tier0605 on Oct 28, '09 05:32:24AM

Is there a way to use the text replacement feature in Mail to automatically replace the lowercase letter of the 1st word of a new sentence with an uppercase letter? For instance, the text repalcement feature works great for replacing "i" with "I", but if that can be expanded to "*. a" to "*. A" auomatically, that would be fantastic. Taking that forward one more step, if it can automatically replace the lack of a "space" between the end of the last sentence and the beginning of the new sentence, even better! For eg: "*.a" = "*. A"........
I know this can be done using an App but if the native replacement feature can be used, than i would prefer that.



[ Reply to This | # ]