{"id":202,"date":"2010-07-20T13:44:54","date_gmt":"2010-07-20T13:44:54","guid":{"rendered":"http:\/\/us111.siteground.us\/~tlhouse0\/ptfbpro.com\/automate\/?p=202"},"modified":"2012-06-13T21:58:55","modified_gmt":"2012-06-13T21:58:55","slug":"people-keep-closing-a-vital-program-on-our-shared-office-pc-how-can-i-restart-it-automatically","status":"publish","type":"post","link":"https:\/\/ptfbpro.com\/automate\/people-keep-closing-a-vital-program-on-our-shared-office-pc-how-can-i-restart-it-automatically\/","title":{"rendered":"People keep closing a vital program on our shared office PC. How can I restart it automatically?"},"content":{"rendered":"<p>There can be lots of reasons why programs close even though you need them to keep running. If they&#8217;re buggy, then it could be because they&#8217;ve crashed, but in an office situation it could simply be that some other employee has mistakenly closed the program. In these cases it&#8217;s tempting to lock the PC in question, but that might not be an option if the PC is shared and open for use by general office staff.<\/p>\n<p>One way round the problem is to use a Program Monitor (&#8220;ProgMon&#8221;) macro in PTFB Pro. Just follow these steps:<\/p>\n<p>1) Open up PTFB Pro&#8217;s main screen, hit &#8220;New Macro&#8221; and choose &#8220;ProgMon Macro&#8221;<\/p>\n<p style=\"text-align: center;\"><a title=\"PTFB Choose Macro by GammyKnee, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/27172079@N08\/4808419290\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm5.static.flickr.com\/4140\/4808419290_26725ceb8a.jpg\" alt=\"PTFB Choose Macro\" width=\"467\" height=\"385\" \/><\/a><\/p>\n<p>2) Select your vital program in the list on the first wizard page, and hit Next<\/p>\n<p>3) On the next page, select the action &#8220;Launch the program if it&#8217;s not running&#8221; and hit Next<\/p>\n<p style=\"text-align: center;\"><a title=\"Progmon action page by GammyKnee, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/27172079@N08\/4807980115\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm5.static.flickr.com\/4120\/4807980115_f5a663fe83.jpg\" alt=\"Progmon action page\" width=\"468\" height=\"500\" \/><\/a><\/p>\n<p>4) On the final page, you can enter the command line required to launch your program. PTFB Pro will typically provide a base command line but you can add parameters if needed, or even set the program to run under a specific account. Hit Finish when you&#8217;re done, then &#8220;Start Watching&#8221; to put PTFB Pro into action.<\/p>\n<p>From now on, any time PTFB Pro discovers that the program in question has closed it&#8217;ll relaunch it automatically!<\/p>\n<p><a href=\"http:\/\/www.ptfbpro.com\/\" target=\"_blank\">Find out more about boosting your productivity with autoclicks and macros.<\/a><br \/>\n<em><a href=\"http:\/\/www.ptfbpro.com\/download.shtml\" target=\"_blank\">CLICK HERE to download a free 30 day trial, no strings attached<\/a>. If you aren&#8217;t entirely happy simply uninstall!<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There can be lots of reasons why programs close even though you need them to keep running. If they&#8217;re buggy, then it could be because they&#8217;ve crashed, but in an <a class=\"more-link\" href=\"https:\/\/ptfbpro.com\/automate\/people-keep-closing-a-vital-program-on-our-shared-office-pc-how-can-i-restart-it-automatically\/\">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":[14],"tags":[],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-keep-programs-running"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/202"}],"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=202"}],"version-history":[{"count":0,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/posts\/202\/revisions"}],"wp:attachment":[{"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/media?parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/categories?post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ptfbpro.com\/automate\/wp-json\/wp\/v2\/tags?post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}