I am trying to solve a problem using KM actions, as opposed to an AppleScript because I want to be able to make modifications and adaptions in the future.
The macro below inserts the frontmost Chrome Title → highlight the title → create Link (Cmd-K) → insert the URL
I want to end up with a robust macro which yields:
title of window https://forum.keyboardmaestro.com/c/questions/9
The problem with the macro below is the section action which highlights the title. It is not robust and creates unpredictable outcomes when the title is multi line (as when the window I am working in is narrow) or when there is text on the same line behind the title (which is selected and included in the title to create the link)
thanks in advance for your time and help