@appleianer That's so cool! It's kinda hard to tell from the video, but I think I have a slightly different objective here, which is to define a search area for the found image within a window. The window can then move around the screen but the search area follows it. I think that second set of macros (image to path and display image from path) is one I might have had a hand in. Looks so slick how you use it. I never use palettes as I have a Stream Deck, but you're making me wanna!
Ok so I found a way to do it! I just saved the Get FrontWindow Left and Top group as a favourite and loaded it before running your script! So neat!!
Do you happen to know how to use keyboard shortcuts to select the group that a selected action is in, in the KM editor? If I knew that, I'd be able to also group them and rename the group! I can use the up and down arrows to select different actions within a group, but how do I select the group itself?
Sorry, I don't understand. What is the favourite action? Is it just an empty Click at Found Image action?
I meant the group of actions in a macro. When one action is selected in a group, I can use the up and down arrows to move to the action above or below, but I don't know which keystrokes to use to select the actual group they're in.
When I add a favourite, it doesn't allow me to click in the field before saving, like you do in the gif. I'm guessing that's your own save favourite macro....?
I've ended up using a different method anyway and have edited the macro at the top of this thread.
Sometimes KM macro (conflict) palettes can be very helpful
Here is an example of ScreenFlow. I always have everything directly at the cursor. That saved a lot of time.
Thanks. Very kind of you to share. When I use it, it doesn't save the cursor position (in the coordinate field) like it does in your video. Weird. Also it only saves individual actions, not grouped actions. Never mind...
Really nice!
I tried them when I first got KM, but stopped when I got a Stream Deck. I can definitely see how they might be more useful in certain circumstances and you've inspired me to take a second look.
Since I start the macros via a KM palette, after setting the favorite action, KM is minimized and the macro is paused so that I have time to look for my screenshot in the app etc.
In the following gif I saved the screenshot once in the KM macro itself and once externally in a Finder folder.
Yeah that makes sense. I have 3 screens and always have KM and the app I'm working with visible, so I don't worry about it. Your addition will probably make a lot of sense for most people.