Tag Info

Hot answers tagged

9

You can do this in System Preferences in the Text tab of the Language & Text pane: You can toggle on/off the built-in replacements, as well as create ones of your own.


9

The Speech Synthesis Programming Guide describes the embedded speech commands that you can use to adjust how the speech synthesis engines process your input text. The [[inpt PHON]] command enables the use of phonemes and phoneme modifiers. For example, the following text includes a phonemic version of your chosen word (select the text, Control-click, and ...


9

You can use OptionShift⌘-V to paste and match the current style. This removes all previous formatting, links, etc. If you would like to make this the default action when pressing ⌘V, open System Preferences -> Keyboard -> Keyboard Shortcuts, and select Application Shortcuts from the list on the left. Then, hit + to make a new shortcut, select ...


7

You could use launchd. launchd lets you manage daemons and agents according to certain conditions. What are daemons and agents? From man launchd: A "daemon" is, by definition, a system-wide service of which there is one instance for all clients. An "agent" is a service that runs on a per-user basis. Daemons should not attempt to display UI ...


7

I use Marked to process text files to pdf routinely. No matter what editor you use, Marked will open and re-save a PDF generated from the plain text input by opening and re-saving the file. It also saves to HTML or RDF output from markdown. In reality, any program that renders markdown could print to PDF using OS X core services (File -> Print -> PDF -> ...


6

Safari Highlight URL in the address bar Press ⌥ and then ↩ to download. Chrome File -> Save As No options appear as to what the downloaded format is. For a plain .txt file it will be a simple text file.


6

Your brother's Apple ID probably still has his phone number associated with it for iMessage. The smoothest way to deal with this is to have him disassociate his phone number from his Apple ID. In this KB article, see the section "Unlink a phone number". If he has other Apple devices (Mac or iPad) that are using his Apple ID, your iMessages may be being ...


5

This is a known issue with iMessage. In your case, what has happened is that the SIM was registered on Apple's servers as capable of accepting iMessages. When your friend swapped phones, they likely kept the same SIM card. So now their old iPhone (bound to Apple's servers by its UUID) and the SIM card (bound by its own ID) are both registered with Apple to ...


5

I came up with an entirely different suggestion. Turn off the automatic smart quotes altogether, and learn to type them manually instead. On the U.S. standard keyboard layout: Open printer's quote “ can be typed manually by Option-[. Close printer's quote ” can be typed manually by Shift-Option-[. Open printer's apostrophe ‘ can be typed manually by ...


5

The Lion build of less indeed comes with the lesskey feature disabled, as can be seen by the customized defines.h it is being built with (line #define USERFILE 0). This doesn't mean it's broken, just that someone decided to customize the build and disable this feature for whatever reason. Sadly they neglected to update the man page, which is why it's still ...


5

I had a google, and found this for background reading. Unlike email, which has the potential to be abused without your consent merely by opening a message, there is no risk attached to simply viewing such messages provided they are received over the SMS network. They may contain links that you do not want to visit, but they cannot visit those links for you ...


4

The solution is to create an afm version of the font you want to use which is American-typewriter for the enscript program to create with. What you need to do is grab a copy of the AmericanTypewriter font. Which is located at /Library/Fonts/AmericanTypewriter.ttc Next obtain and run the program ttf2pt1. Copy the output file that you can name atw.afm to ...


4

Safari's reading list and iCloud works well to synchronize a list of URL between Macs and iOS devices. The Simplenote app and web app work well to let all your devices keep track of text documents. You only need to pay for the latter if you want enhanced features or avoid the advertisements that are minimal and generally very tasteful.


4

What if you want to select 78 here (after having pressed ⇧↑)? Or if you want to select both 12 and 78, on Windows you couldn't press shift+home and shift+end. Methods like moveToEndOfLineAndModifySelection: are unanchored in most applications, which means that they always extend selections. They are actually anchored in Xcode, TextMate, Sublime Text, and ...


3

Well, one way that I know you can do it is create a new Text Message, and hit the + icon. Now, when you select your buddy, you should be able to select the phone number or the email address (since that is what your friend is probably using for iMessage). Select the phone number and it should send it to his Windows Phone instead of his iPad.


3

There really isn't a neat way of doing this. I normally hit Command + down arrow. This will bring me to the end of the page, where I can then press enter a few times, or if using textmate, you can create a snippet to insert carriage returns for you. With an application like textexpander you can program a keypress to add carriage returns for you.


3

Your sending a lock doesn't change the settings you had on the phone prior to losing it. If messages were showing on the screen - they will still show. If not, they will not. If you have find my phone enabled and are concerned about changing this, you could send a remote erase (and then lose all ability to track it again) and have it resort to the ...


3

Another way to convert non-ASCII characters to ASCII variants is to use iconv -t ASCII//TRANSLIT: $ echo ‘’“”–—…äé | iconv -t ASCII//TRANSLIT ''""--..."a'e ASCII//IGNORE would remove non-ASCII characters, but you can also do that with for example tr -dc '\0-\177'.


3

There are three things you're probably running into here: Mail, by default, correctly sends only a plain-text message. Plain text messages carry no style information and will be displayed by the recipient in their preferred typeface. Rich-text (HTML) messages are only sent if you've actually used rich-text features. Mail, by default, correctly does not ...


3

UPDATE: well, perhaps I should have tried first, but in a test I just made, if I actually run the zip command in Terminal, then the produced archive does correctly label text files as such, as reported by zipinfo. If however I select the files in a Finder window and select the command in the Finder File menu to create an archive, then the said text files are ...


2

Huh. Sure enough, it's not setting up VT100 line drawing by default, and apparently programs don't bother with little things like how you're supposed to send enacs before using smacs any more (no doubt because some Linux terminal emulator doesn't require it, therefore "nobody does"). Anyway, quick fix (here, at least) is to add to your ~/.bashrc test -t ...


2

If you really want to copy text from Quick Look you can try the default QLEnableTextSelection -bool TRUE Open Terminal.app and paste this on the command line defaults write com.apple.finder QLEnableTextSelection -bool TRUE press return and restart the Finder (or Logout and Login) and you can select and copy text direct in QL.


2

I found the answer in this blog post Create the AppleScript: try set theClip to Unicode text of (the clipboard as record) tell application "Microsoft Word" to tell selection to type text text theClip end try Save in /Users/YourUserName/Documents/Microsoft User Data/Word Script Menu Items as Paste unformatted\mosV.scpt (the backslashed bit ...


2

I use Ciarán Walsh’s TextMate in QuickLook plugin. This is a TextMate plug-in and a QuickLook generator which renders QuickLook previews (for certain filetypes) using the TextMate syntax highlighter. Currently it’s configured to highlight Perl, PHP, Ruby, Shell, C headers and Obj-C(++). Note: this effectively sets up TextMate as a server for the syntax ...


2

So, I decided to give iTerm2 a spin after I hadn't looked at it in quite a few years. I have to admit that (with a little tweaking) it's actually a lot better than Terminal.app in many major and minor aspects. I have yet to find something that Terminal.app does better. So I guess that I'll just stick with iTerm2.


2

Here are a few options you could check out: Instapaper Acts a lot like Whispersync for any article you find on the web. You can read via a nice iOS app or the web app. You can also forward txt into your Instapaper account via email. It's supported by a ton of additional iOS apps. You can use actually link it right into your Kindle natively through ...


2

I don’t know how to do this with Lion’s text replacements, but you might want to consider TextExpander, which performs a similar task. You don’t need to add a trailing space to open a snippet, which is what you’re looking for, right? e.g. my email address in TextExpander is set off with the shortcut ;g, no space required. [Duped from comments per dan8394’s ...


2

As mentioned, OS X (since 10.6) has built-in text expansion capability. However it's also worth mentioning TextExpander. It does the basic replacement that the built-in utilities do, but it offers a lot more functionality and customizability. For example, you can have it insert variables like the current date, move the insertion point (e.g. you can wrap ...



Only top voted, non community-wiki answers of a minimum length are eligible