In the right pane, search for the name of the Automator workflow that you just saved and click on the checkbox to the left of the file name.Scroll down to and select Services in the left pane.Once you find that, drag 'Run AppleScript' over to the right pane, which enters it into your workflow.įinally, use System Preferences to assign this workflow to a global hotkey.Under 'Actions' in the left pane, search for 'Run AppleScript.'.Next, use Automator to trigger the above AppleScript:
Replace 'Hello World.' with your desired text, but make sure to keep the quotation marks around whatever text you input as that is what is making the data type a string. You could create this using AppleScript and run it using Automator.Ĭreate a script: tell application 'System Events' to keystroke 'Hello World.'