Create Variable with First 10 Characters of Clipboard Text

Hello,

Is there a way to create a variable that results in the first 10 characters from the current text in the clipboard. For example, if my clipboard contains “This is the current text of the clipboard”, I would like the resulting variable to be “This is th” (i.e., the first 10 characters in the text).

Thanks!

This KM Action should do the job for you:
action:Substring of Variable or Clipboard [Keyboard Maestro Wiki]

That worked perfectly. Thanks!

1 Like