How to Generate a Text List of all Actions in a Macro

Do you know which apps to look out for? That seems a hairy problem to debug.

I had some macros that were growing over time, like some I'd created to automate saving Facebook items that I want to respond to later. Facebook would imperceptibly change a graphic element which I had been using to tell, for instance, that I had scrolled to the bottom of a list, so when the macro broke, I would fix it by adding a new capture into the macro as another OR condition, while leaving the older images in place, so that my macro would hopefully work no matter which version of the UI I was given.

Most of the time my Click on Found Image actions are ways to interact with an app's UI. For many of my macros, I think I can eliminate images entirely by using @noisneil's macro:

I've already used it on the color picker of TextEdit and found it very straightforward to use in generating an AppleScript snippet to click directly on a specific UI element, without having to get KBM to position the mouse at all.

1 Like