{"id":694,"date":"2017-01-06T18:03:14","date_gmt":"2017-01-06T18:03:14","guid":{"rendered":"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/?p=694"},"modified":"2017-01-06T18:05:34","modified_gmt":"2017-01-06T18:05:34","slug":"better-handling-of-hotkey-triggers-in-ptfb-pro-v5-0-2-0","status":"publish","type":"post","link":"https:\/\/ptfbpro.com\/automate\/better-handling-of-hotkey-triggers-in-ptfb-pro-v5-0-2-0\/","title":{"rendered":"Better handling of hotkey triggers in PTFB Pro v5.0.2.0"},"content":{"rendered":"<p>The latest release (v5.0.2.0) brings two small but useful improvements to PTFB Pro: better handling of hotkey triggers, and the ability to supply to text that prevents a match when looking for target windows for macros and single-press items.<\/p>\n<p>The first change causes PTFB Pro to wait until the most important modifier keys (ALT, SHIFT and CTRL) are not still down before triggering a macro by hotkey. Previously the macro would trigger immediately &#8211; possibly while a modifier key was still in the &#8220;pressed&#8221; state on the keyboard. In some programs (MS Office particularly) this could cause a &#8220;sticky&#8221; key problem; by waiting for the modifier keys to come back up, the problem is eliminated. If for whatever reason you prefer the previous behavior you can bring it back: just head over to Options -&gt; Configure and turn off &#8220;Wait for key-up on hotkey trigger&#8221;.<\/p>\n<p>The second change concerns the &#8220;Identifying the Target&#8221; page of items like single-presses and window-based macros.\u00a0 If you look at the top section of this page, you&#8217;ll now see an extra field titled &#8220;Exclude this text&#8221;..<\/p>\n<p><a href=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/01\/ExcludeText.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-695 aligncenter\" src=\"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/01\/ExcludeText.png\" alt=\"\" width=\"570\" height=\"293\" srcset=\"https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/01\/ExcludeText.png 570w, https:\/\/ptfbpro.com\/automate\/wp-content\/uploads\/2017\/01\/ExcludeText-300x154.png 300w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>This optional field &#8211; which can be a regular expression if required &#8211; specifies text which will prevent the macro firing if that text is present in the target window&#8217;s title (aka &#8220;caption&#8221;). This small addition provides a surprising amount of extra control over when a macro fires. For example, let&#8217;s say you&#8217;ve made a macro that automatically saves your work every few minutes in your favorite editing app. The problem is, the macro fires even when you&#8217;re editing a new (&#8220;Untitled&#8221;) document that hasn&#8217;t been saved yet. The solution is just to add &#8220;Untitled&#8221; to the &#8220;Exclude this text&#8221; field; now the macro makes an exception for untitled documents, but saves all your other work automatically.<\/p>\n<p>This new functionality was requested recently by a new customer. If there&#8217;s something YOU would like to see added to PTFB please <a href=\"http:\/\/ptfbpro.com\/contact.shtml\" target=\"_blank\">get in touch<\/a>; I can&#8217;t guarantee that all requests will be implemented, but if it&#8217;s something that could benefit other PTFB users we&#8217;ll certainly consider it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest release (v5.0.2.0) brings two small but useful improvements to PTFB Pro: better handling of hotkey triggers, and the ability to supply to text that prevents a match when <a class=\"more-link\" href=\"https:\/\/ptfbpro.com\/automate\/better-handling-of-hotkey-triggers-in-ptfb-pro-v5-0-2-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-694","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/694"}],"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=694"}],"version-history":[{"count":0,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/694\/revisions"}],"wp:attachment":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/media?parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/categories?post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/tags?post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}