Find Image on Screen using Clipboard Image?


#21

Hey Greg,

I'm at the end of my expertise on this, so Peter will have to answer.

-Chris


#22

Thanks Chris. I'm also wondering if @DanThomas or @nok had any success and could share?


#23

Screen images can have all sorts of weird adjustments based on kerning or fonts or color adjustments, etc. You will also have to make sure the resolution is correct. So it's hard to know what might be the issue here.


#24

Actually there is a completely different solution to this problem. Basically, you can create self modifying KM code. Any programming purist would hate self-modifying code, but if you don't mind that, you can do it. For example, if the image you want to search for is in the clipboard, you can use a macro in KM to open another macro in KM, then use a KM macro to click on the image icon in the Find Image on Screen macro, (then wait a few seconds for the macro to recompile,) then call the macro. That should work. I haven't done it myself yet but I see no reason it wouldn't work.