Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently use Quicksilver with a Plugin and Trigger in concert with Snow Leopard's text replacement feature (for frequently-used combinations of hashtags, due dates and other parameters) to quickly send tasks to Remember The Milk (

Unfortunately, I have to click "Text Replacement" from the right-click menu of the text entry field in order to use that feature. I'm suspecting that I can add some AppleScript to the Trigger as a work-around to do that automatically. If so, what would be the best way to go about this? Would I need to use GUI scripting?

share|improve this question

Assign a keyboard shortcut to the menu item Edit » Substitutions » Text Replacement in System Preferences » Keyboard » Keyboard Shortcuts » Application Shortcuts.

enter image description here enter image description here enter image description here

If you only want this to work in Safari, restrict the Application setting accordingly.

Once this is done, you can simply use the following AppleScript to trigger it programmatically:

tell application "System Events" to keystroke "r" using {shift down, control down}

Of course, this depends on the shortcut you define.

share|improve this answer
Thanks for the insight but it it doesn't work for Quicksilver as the Text Replacement menu bar item does not seem to exist within that application. The option only appears in its context menu. – Orion751 Jan 31 '11 at 23:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .