{"id":809,"date":"2021-05-10T22:58:09","date_gmt":"2021-05-10T22:58:09","guid":{"rendered":"https:\/\/ptfbpro.com\/automate\/?p=809"},"modified":"2021-05-10T23:01:19","modified_gmt":"2021-05-10T23:01:19","slug":"wait-until-button-is-enabled-ptfb-pro-v5-4-3-0","status":"publish","type":"post","link":"https:\/\/ptfbpro.com\/automate\/wait-until-button-is-enabled-ptfb-pro-v5-4-3-0\/","title":{"rendered":"Wait until button is enabled: PTFB Pro v5.4.3.0"},"content":{"rendered":"<p>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.<\/p>\n<p>Let&#8217;s say you start a new &#8220;focus merge&#8221; &#8211; 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 (&#8220;Add&#8221;) the images that are to be blended:<\/p>\n<p><a href=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/OKDisabled.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-810\" src=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/OKDisabled.png\" alt=\"Focus merge in Affinity Phot\" width=\"386\" height=\"359\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/OKDisabled.png 386w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/OKDisabled-300x279.png 300w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<p>When you&#8217;ve done that, the software goes into high gear as it scans the source photos, and it doesn&#8217;t enabled the OK button &#8211; which must be pressed to start the actual merge &#8211; until it is ready. That could take anything from a few seconds to a few minutes, and I&#8217;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 &#8220;Identifying the Target&#8221; page:<\/p>\n<p><a href=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/MustBeEnabled-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-812\" src=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/MustBeEnabled-1.png\" alt=\"The new Must Be Ebaled option for buttons\" width=\"570\" height=\"514\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/MustBeEnabled-1.png 570w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2021\/05\/MustBeEnabled-1-300x271.png 300w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>The &#8220;Must be enabled&#8221; option is new in version 5.4.3 and is only available for &#8220;Single Press&#8221; macros where the target of the press is a regular button or an easily recognizable link in a web page. It&#8217;s something that has been requested by a few users over the years, but I didn&#8217;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&#8217;re doing lots of repetitive work!<\/p>\n<p>Get the latest version from our<a href=\"https:\/\/www.ptfbpro.com\/download.shtml\" target=\"_blank\" rel=\"noopener\"> downloads page<\/a> and remember it&#8217;s a free upgrade for all licensed users of version 5.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 <a class=\"more-link\" href=\"https:\/\/ptfbpro.com\/automate\/wait-until-button-is-enabled-ptfb-pro-v5-4-3-0\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[25],"tags":[],"class_list":["post-809","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/809"}],"collection":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/comments?post=809"}],"version-history":[{"count":6,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/809\/revisions"}],"predecessor-version":[{"id":817,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/809\/revisions\/817"}],"wp:attachment":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/media?parent=809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/categories?post=809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/tags?post=809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}