An AppleScript to add text to an email

I have this legal mumbo jumbo I always have to type out into my emails.

How do I make a script that will type it out for me with a push of a button?

It’s always the same words I have to type by the way.


Thanks! :cry:

You could probably get away with just using a signature with your legal text. If that won’t work, make sure you have GUI Scripting enabled, then, with your new message window frontmost in, run this script (you can use any number of keyboard launchers such as xkeys or set mumbo_jumbo to “Your legal mumbo jumbo…”

tell application "Mail" to activate
tell application "System Events"
	tell process "Mail"
		keystroke mumbo_jumbo
	end tell
end tell