Overlay as trigger? (not an application window)

I use Browserflow to fill data in forms and while it should support Ctrl+C (Cmd+C) to copy selected text, it doesn't work for me. So I let the bflow stop, then manually press Cmd+C to copy text, and then I press the flow in Browserlow to continue.
They don't seem to have a solution, not that I expect, I am not a paying customer there and for free apps, they provide great value.

But I am trying to solve the issue of having to manually press the keys.
So I wonder if there is any way I can get to trigger KBM.

I thought about 2 options - http request (Browserflow can do) or show an Alert window that would trigger KBM.

The issue with the Alert window is it's not an normal application window, it's like an overlay because I can only drag it within the browser window where it shows.

The Browserflow extension runs in it's own separate window, the window has a title Browserflow and it runs beside the browser main window.

image

Is there a way to get KBM to trigger when this shows up?

The name "Browserflow" is always there, the text in the alert (here: This is a test), can be changed to whatever I like. The buttons Cancel and Continue are always there.

So I would like to KBM to get triggered when the alert shows up. The KBM would select the line of the text e.g. Cmd+arror_right+Shift and then Cmd+C to copy the text and then it would press the button Continue in the alert.

Once the Continue button is pressed, the Browserflow would continue the flow.

You can generate an http request? That may be the best solution because KM supports something called a "Public Web Trigger" where you can get the KM Engine to respond to a URL request. I haven't used this feature much, so I'm not certain that this solution will work, but you should read up on it.

Another possible solution is to get KM to detect and act upon your pop-up. For example, in this case you can have a macro that either runs intermittently (every second, perhaps) or runs an infinite loop (which is faster, but might slow down your Mac) that checks if the following image exists on your screen or in a specific window:

image

If the image is "found" you can then use the same KM macro to select and copy the text above the image's found location.

If you aren't fond of using image searches, you can also switch to the new Apple OCR that's baked into KM, although OCR doesn't return the location of the found text, while Find Image does return the location of the found image.

Not all browsers provide the same reliability for image searches. I've seen some posts where Chrome has some problems. So you may want to use Safari.

Anyway, those are my thoughts. If you have questions for me, just ask.