{"id":2038,"date":"2014-11-19T19:46:02","date_gmt":"2014-11-19T19:46:02","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=2038"},"modified":"2014-11-19T19:46:02","modified_gmt":"2014-11-19T19:46:02","slug":"sample-script-to-provide-a-pop-up-menu-requesting-a-users-id-and-password","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/sample-script-to-provide-a-pop-up-menu-requesting-a-users-id-and-password\/","title":{"rendered":"Sample script to provide a pop-up menu requesting a user&#8217;s ID and password"},"content":{"rendered":"<p>;*******************************************<br \/>\n;* Set the Title and Prompt Message *<br \/>\n;*******************************************<br \/>\nLET HEADER = &#8220;User Name&#8221;<br \/>\nLET PROMPT = &#8220;Please enter Your User Name: &#8221;<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Display the prompt *<br \/>\n;* Place the data entered in USERID *<br \/>\n;*******************************************<br \/>\nACCEPT USERID<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Set the Title and Prompt Message *<br \/>\n;*******************************************<br \/>\nLET HEADER = &#8220;Password&#8221;<br \/>\nLET PROMPT = &#8220;Please enter Your Password: &#8221;<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Display the prompt, Accept the data into*<br \/>\n;* the variable PASSWORD, display &#8220;*&#8221; in *<br \/>\n;* place of the data entered *<br \/>\n;*******************************************<br \/>\nACCEPT PASSWORD NOECHO<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Send a Carriage Return *<br \/>\n;*******************************************<br \/>\nKBSPEC HP_RETRNKEY<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Wait for the String &lt;CTRL&gt; Q (DC1) *<br \/>\n;*******************************************<br \/>\nWAITS &#8220;^Q&#8221;<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Append the string &#8220;hello &#8220;, the variable*<br \/>\n;* USERID and the String &#8220;.MINISOFT^M&#8221; the *<br \/>\n;* ^M will send a &lt;CTRL&gt;M(Carriage Return) *<br \/>\n;* Send the append data to the Host *<br \/>\n;*******************************************<br \/>\nTRANSMIT &#8220;hello &#8221; &amp; USERID &amp; &#8220;.MINISOFT^m&#8221;<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Wait for the String &lt;CTRL&gt; Q (DC1) *<br \/>\n;*******************************************<br \/>\nWAITS &#8220;^Q&#8221;<br \/>\n;<br \/>\n;*******************************************<br \/>\n;* Sent the data that is stored in PASSWORD*<br \/>\n;* The SEND appends a Carriage Return after*<br \/>\n;* the variable&#8217;s data *<br \/>\nSEND PASSWORD<br \/>\nEND<\/p>\n","protected":false},"excerpt":{"rendered":"<p>;******************************************* ;* Set the Title and Prompt Message * ;******************************************* LET HEADER = &#8220;User Name&#8221; LET PROMPT = &#8220;Please enter Your User Name: &#8221; ; ;******************************************* ;* Display the prompt * ;* Place the data entered in USERID * ;******************************************* ACCEPT USERID ; ;******************************************* ;* Set the Title and Prompt Message * ;******************************************* LET HEADER [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,62],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2038"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=2038"}],"version-history":[{"count":1,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2038\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2038\/revisions\/2039"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=2038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=2038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=2038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}