Creating an AppleScript for pasting the same text

Discussion in 'OS X Mavericks (10.9)' started by Forkjulle, Jun 17, 2014.

  1. Forkjulle macrumors regular

    Joined:
    Aug 1, 2012
    #1
    Let's say I have the following text that I often insert into an email:

    Blah blah
    @bla bla bla

    Is there a way to create a script that will insert that, as is, via a contextual menu when right-clicking in Mail?
     
  2. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #2
    You should be able to put together an Automator service that would do that, but I think an easier way would be to use text autocorrect. Open System Prefs and in the Keyboard pane go to the Text tab and click the plus at the bottom left then add whatever you want like in my example here.

    When I type bbb it autocorrects to what you want by hitting the space bar.

    [​IMG]

    [​IMG]
     

Share This Page