Copy text from a dialog box that is non-static


I am not sure if this is possible to do with KM but does not hurt to ask :sweat_smile:.

I cannot share the website because is private (you need user and password to access) but I'll try to copy and paste info here.

I want to copy text from a dialog box that shows up when you place the cursor on the question mark "icon", but the dialog box does not stay if you do not have the cursor placed on the icon, so basically is non-static, I guess?

I want to copy "The gross sales should be reported". Text will vary...

When I hit inspect there's nothing really to work with:

Any ideas?

Here's one idea. This is based on the dimensions of your screenshot, which looks zoomed to me, so you will need to adjust the values in the green actions.

OCR Area Relative to Mouse Position.kmmacros (23 KB)

Macro screenshot

Demo Video

CleanShot 2023-01-13 at 15.40.36

1 Like

TYSM! I'll give it a try and report back!:muscle::star:

What exactly did you inspect? The pop-up window or something else?

You didn't expand the available code either, so we can't see if there is in fact nothing to work with.

Yes, I inspected the pop-window.... how do I expand the code? sorry I am kind of new with this! But I don't see anything else below......

See the little triangles? Just like in the Finder.

Click to open one level – Opt-Click to open all levels.

What web browser are you using?