I use an app called EasyFind to find some files Finder can't.
Some protected files, for example files that are set to read-only, when I try to delete them I get this window:
The issue is that when I click Delete, nothing happens. I've already contacted the developer, but his replies are a bit weird (if you want to read the thread), because he says that at the moment EasyFind doesn't allow the deletion of files that require admin password. So my question is: then why the Delete button at all and why asking "Do you want to delete them immediately?" if the button doesn't do what's supposed to do? Go figure...
So my plan is to create a macro that starts running once EasyFind is running and it's always scanning the screen until this window is visible. When it does it will pause the macro and will be waiting for me to click the Delete button (either using the image of the button or if possible, the button itself, if KM can identify it as such).
Then once I click it, it closes that window, presses a certain shortcut I have to Reveal in Finder and then hit Delete so I can be prompted with the password window.
So I guess that the trigger would be this:
It's not a big problem that it's repeating every second and that it may slow the computer down or something. This is a task I do just once in a while and when I do, I'm just focused on deleting files and I'm not working with other apps, so no big deal.
Now my issue is to find a way to resume the macro once I click the image/button. Is this possible?