LaunchBarActions icon indicating copy to clipboard operation
LaunchBarActions copied to clipboard

Is it possible to pass input to KM?

Open ashkrosh opened this issue 4 years ago • 4 comments

ashkrosh avatar Apr 03 '20 10:04 ashkrosh

Hi, I wonder if that is possible to pass input variables (maybe via NamedClipboard) to KM macro? It will be great to have the same experience as we have with "Search Templates" in LB

ashkrosh avatar Apr 03 '20 10:04 ashkrosh

Take a look here
https://forum.keyboardmaestro.com/t/get-text-from-named-clipboard-from-km-use-in-applescript/9145

With help in the KM forum I managed to create scripts to set variables in scripts from KM variables, and pass variables from scripts to KM named clipboards.

jonohunt avatar Apr 03 '20 12:04 jonohunt

Take a look here https://forum.keyboardmaestro.com/t/get-text-from-named-clipboard-from-km-use-in-applescript/9145

With help in the KM forum I managed to create scripts to set variables in scripts from KM variables, and pass variables from scripts to KM named clipboards.

Thanks @jonohunt that was very helpful. I am curious if as you told, did you manage to publish the final version?

ashkrosh avatar Apr 03 '20 14:04 ashkrosh

I didn’t really create macros.

I just ended up creating scripts to run through LaunchBar to send text to specific named clipboards, and to paste from specific named clipboards via LaunchBar.

jonohunt avatar Apr 06 '20 19:04 jonohunt