Are Snow Leopard text substitutions scriptable?

2

1

I prefer using typographical quotation marks when possible, so I love the Smart Quotes part of Snow Leopard’s text replacement feature. But there are a few cases in which I need to toggle it, and it’s a pain to do so from the contextual menu when I’m typing.

Is there any way (preferably via AppleScript, but I can deal with other suggestions) to toggle specific types of text replacement for the frontmost text-input control? And if so, what’s a good way to assign it to a globally-accessible keyboard shortcut (via 3rd-party app if necessary)?

yonatron

Posted 2010-01-09T16:09:27.843

Reputation: 116

Answers

0

You can assign a keyboard shortcut to the menu item Edit » Substitutions » Smart Quotes via System Preferences » Keyboard » Keyboard Shortcuts » Application Shortcuts.

alt text

The menu item title should be unique enough that this works in (almost) all applications. Screenshot of TextEdit after defining this:

alt text

Daniel Beck

Posted 2010-01-09T16:09:27.843

Reputation: 98 421