12/22/14 20:10:18

keyboard-maestro:

I like using a string trigger to temporarily pause TextExpander. This way, I can type trigger the pause, type a word, and then type again to enable TextExpander.

I’m liking this idea by Bakari Chavanu, but I don’t want to set one more global keystroke, so I quickly wrote this AppleScript to toggle snippet expansion from this script.

tell application "TextExpander"
    set isEnabled to expansion enabled
end tell

if isEnabled is true then
    tell application "TextExpander" to set expansion enabled to false
else if isEnabled is false then
    tell application "TextExpander" to set expansion enabled to true
end if