Wait until button is enabled: PTFB Pro v5.4.3.0

Sometimes when automating a task you need to wait for a variable amount of time before the next step becomes available. One such case occurs in my favorite image editing software Affinity Photo.

Let’s say you start a new “focus merge” – this is where multiple photographs are blended to create a single image with a deep region of sharp detail. The following screen pops up allowing you to specify (“Add”) the images that are to be blended:

Focus merge in Affinity Phot

When you’ve done that, the software goes into high gear as it scans the source photos, and it doesn’t enabled the OK button – which must be pressed to start the actual merge – until it is ready. That could take anything from a few seconds to a few minutes, and I’d like PTFB to monitor and press the OK button the instant it becomes available. That is now possible without any workarounds thanks to this new addition to the “Identifying the Target” page:

The new Must Be Ebaled option for buttons

The “Must be enabled” option is new in version 5.4.3 and is only available for “Single Press” macros where the target of the press is a regular button or an easily recognizable link in a web page. It’s something that has been requested by a few users over the years, but I didn’t appreciate how useful it would be until I ran into a situation where I needed it. It can really help cut down on wasted time and irritation when you’re doing lots of repetitive work!

Get the latest version from our downloads page and remember it’s a free upgrade for all licensed users of version 5.