{"id":15433,"date":"2021-12-19T02:59:30","date_gmt":"2021-12-19T02:59:30","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=15433"},"modified":"2021-12-19T03:00:29","modified_gmt":"2021-12-19T03:00:29","slug":"can-i-use-the-mouse-in-a-batch-menu","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/can-i-use-the-mouse-in-a-batch-menu\/24432.html","title":{"rendered":"Can I Use The Mouse In a Batch Menu?"},"content":{"rendered":"<p>Hi, I have created a batch file which uses the following format:<\/p>\n<p>:: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- menu &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>:mainmenu<br \/>\nCLS<br \/>\nECHO Main Menu<br \/>\nECHO &#8212;&#8212;&#8212;<br \/>\nECHO [1] Install Office 2010<br \/>\nECHO.<\/p>\n<p>:ch-main<br \/>\nSET \/P mm=Please Select:<br \/>\nECHO.<\/p>\n<p>IF \/I %mm%==1 GOTO inst-off<br \/>\nGOTO ch-main<\/p>\n<p>:inst-off<br \/>\n:: &#8220;%tools%\\office tools\\&#8221; are set<br \/>\nSTART \/D &#8220;%tools%\\office tools\\&#8221; office2010.exe<br \/>\nGOTO mainmenu<\/p>\n<p>:EOF<\/p>\n<p>:: &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>What i&#8217;m after is being able to click the menu option and have the batch file perform the action required as if i&#8217;d typed the number in the menu&#8230;<\/p>\n<p>Any clues?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":24},"question-category":[55],"question_tags":[],"class_list":["post-15433","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/15433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=15433"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=15433"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=15433"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=15433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}