Can KM override OS ⌘V behavior?

In todoist I often add markdown links and I want to have a macro that does something along the lines of

If the following conditions are true

  • active window title contains todoist
  • text is highlighted
  • if clipboard contains a url I.E. http*
  • ⌘V is pressed
  1. Create a variable from selected text
  2. Create a markdown link using [Text from variable created in step 1](URL currently stored on clipboard)

Is this possible?

Just to clarify, I’m assuming that you meant “Command” not “Control” i.e. you want to use the standard keyboard shortcut for paste (⌘V) but have it do something special in todoist?

Doh...recovering windows user. I updated the title, yes ⌘V is what I meant essentially overriding the operating system hot keys.


I'd create a new Macro Group that is activated ONLY when todoist app is frontmost, and the Title of the front window contains "todoist"

Here is an example Macro to help get you started.
You didn't explicitly ask to paste the results (the MD Link), but I have assumed that you wanted to do that. I also make some other assumptions when text was not selected and the Clipboard did NOT contain an URL.
You will want to review the workflow logic and adjust as needed.

Below is just an example written in response to your request. You will need to use as an example and/or change to meet your workflow automation needs.


  • I used "TextEdit" instead of "Todoist" as the app since I do NOT have the Todoist app installed.
  • ==You need to CHANGE the App in the Macro Group setup to "Todoist"==


Please let us know if it meets your needs.


MACRO:   Paste Markdown Link Created from Selected Text in Todoist & Clipboard [Example]

-~~~ VER: 1.0    2020-12-10 ~~~
Requires: KM 8.2.4+   macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))

DOWNLOAD Macro File:

Paste Markdown Link Created from Selected Text in Todoist & Clipboard [Example].kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.




  • Paste Markdown Link Created from Selected Text in Todoist & Clipboard [Example]
    • IF a URL is NOT on Clipboard; THEN a Normal Paste is Done.


  1. First, make sure you have followed instructions in the Macro Setup below.
  2. Select Text in the Front Window of the Todoist App
  3. Trigger this macro.


  • Carefully review the Release Notes and the Macro Actions
    • Make sure you understand what the Macro will do.
    • You are responsible for running the Macro, not me. ??
      Make These Changes to this Macro
  1. Move this macro to a Macro Group that is only Active when you need this Macro.

  2. ENABLE this Macro, and the Macro Group it is in.

  3. KM 9.0+ (may work in KM 8.2+ in some cases)

  4. macOS 10.11.6 (El Capitan)+

TAGS: @Paste @Markdown @Link @Example


Your assumptions are correct, it works great thanks!