Open File Within an Email or Application

The ⌘V cannot happen before Keyboard Maestro has finished the previous action - Keyboard Maestro executes actions in sequence. It can happen before the results of the previous action are completed, but this is equally true of the Paste action. Paste is functionally implemented as:

  • Type a Keystroke: ⌘V
  • Pause Copy/Paste Delay Time (by default 0.2 seconds).

Since the “Typing” a character really means telling the system to add the character to the event queue, and the target application can read from that queue at some unknown time in the future, the Paste action has an inbuilt pause that allows time for the target application to read the ⌘V and read the clipboard and do its pasting.

A possible consequence then of using “Type a Keystroke: ⌘V” is not that the ⌘V can happen before the previous actions, but that the following actions can happen before the application reads the ⌘V from the event queue and then reads the clipboard. This is particularly important if you plan to change the clipboard immediately afterwards.

Since this macro finishes and does nothing further (unless it is ever called with an Execute a Macro action or otherwise as part of a sequence of things), and then “Type a Keystroke: ⌘V” is the last action, it makes no difference whether you use the Paste action. Though it is generally better simply for consistency and clarity, and in case Keyboard Maestro can ever do anything clever like pausing until the clipboard is actually read.