I must be missing something with Apple Shortcuts.

Once you have a result, how can you get it written in the application you're using if it's not an application in Shortcuts catalogue ?

Let's say for the sake of simplicity I want to use a shortcut that writes my name at the cursor location in my application

At some point I can finish the shortcuts "program" with
copy text to clipboard

At that point I only need to press cmd-V to get it done

But what if I want Shortcut to do it ?

I can't figure it out

I could maybe get an AppleScript to use system events to do it but this seems overkill.

Any idea ?

  • To control the keyboard, you are looking at running a script.
    – red_menace
    Sep 27, 2022 at 22:06
  • Not really, I am hoping that I could get a script to achieve its results, without the need to complete it by an additional keyboard stroke.
    – Hugues
    Sep 27, 2022 at 22:11
  • Yes, you would need to use something like Run AppleScript to control the keyboard (perform the keystroke).
    – red_menace
    Sep 27, 2022 at 22:15
  • Actually, all I want is getting the output of the shortcut inside my app. I suggested using the clipboard then the keyboard, or alternatively running an AppleScript to send system events (which I understand is similar to your comment about controlling the keyboard). So your point is that it is the only way ?
    – Hugues
    Sep 27, 2022 at 22:23
  • Well, to use System Events you would need to use an AppleScript, but couldn’t you also use a Run AppleScript to launch the app with the appropriate arguments, or have the app just get the clipboard itself?
    – red_menace
    Sep 27, 2022 at 22:39

1 Answer 1


Given the answers received, I consider the topic closed. On top of that, using an apple script is not as difficult as I imagined

You only need to add two shortcuts steps:

Get Clipboard
Execute AppleScript 

with the corresponding script

on run {input, parameters}
    tell application "System Events"
        keystroke "v" using {command down}
        return input
    end tell
end run

You must log in to answer this question.

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