{"id":49137,"date":"2023-02-19T15:46:34","date_gmt":"2023-02-19T14:46:34","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=49137"},"modified":"2023-02-19T16:44:51","modified_gmt":"2023-02-19T15:44:51","slug":"switch-monitor-input-via-software","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/49137\/switch-monitor-input-via-software\/","title":{"rendered":"Switch monitor input via software"},"content":{"rendered":"<p>Two computers, one monitor? Fast switching directly in Windows.<\/p>\n<p><!--more--><\/p>\n<p>Switching between monitor inputs is usually done via buttons on the monitor and\/or the on-screen menu. In this article we will look at how we can switch the input using software.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/49137\/switch-monitor-input-via-software\/#Video\" >Video<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/49137\/switch-monitor-input-via-software\/#ControlMyMonitor_by_NirSoft\" >ControlMyMonitor by NirSoft<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/49137\/switch-monitor-input-via-software\/#Switching_with_batch_file\" >Switching with batch file<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Video\"><\/span>Video<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/T7FS9oztO3M\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"ControlMyMonitor_by_NirSoft\"><\/span>ControlMyMonitor by NirSoft<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For this purpose, we use the software &#8220;<a href=\"https:\/\/www.nirsoft.net\/utils\/control_my_monitor.html\" target=\"_blank\" rel=\"noopener\">ControlMyMonitor<\/a>&#8221; by NirSoft. The software is portable, so it does not need to be installed.<\/p>\n<p>After starting the software, we are shown numerous values, codes and labels. If several monitors are connected, the monitor can be specified via the selection field.<\/p>\n<p>Specifically, we are interested in the value for &#8220;Input Select&#8221; with the VCP code &#8220;60&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_1.png\" alt=\"\" width=\"979\" height=\"512\" class=\"aligncenter size-full wp-image-49113\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_1.png 979w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_1-300x157.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_1-768x402.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/p>\n<p>For example, we see the current value here. We can remember this value for the currently selected input. By right-clicking we can set a new value (Set New Value).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_2.png\" alt=\"\" width=\"698\" height=\"164\" class=\"aligncenter size-full wp-image-49117\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_2.png 698w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_2-300x70.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/p>\n<p>Here we enter the value for the desired input. We can find this out quite easily by starting the software on the target computer with the desired input and noting the value.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_3.png\" alt=\"\" width=\"312\" height=\"187\" class=\"aligncenter size-full wp-image-49121\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_3.png 312w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_3-300x180.png 300w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/p>\n<p>Click on &#8220;OK&#8221; to accept the value and switch over.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Switching_with_batch_file\"><\/span>Switching with batch file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>OK, so we don&#8217;t have to fiddle with the monitor directly, but for a quick changeover we will now create a batch file.<\/p>\n<p>First we copy the monitor name via the &#8220;Edit&#8221; menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_4.png\" alt=\"\" width=\"407\" height=\"221\" class=\"aligncenter size-full wp-image-49125\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_4.png 407w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_4-300x163.png 300w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><\/p>\n<p>The value we need from this is the &#8220;Monitor Device Name&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_6.png\" alt=\"\" width=\"597\" height=\"142\" class=\"aligncenter size-full wp-image-49129\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_6.png 597w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_6-300x71.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<p>Then we create a batch file with the editor of our choice. Here we set the value &#8220;60&#8221; to the desired value.<\/p>\n<pre>\r\nControlMyMonitor.exe \/SetValue \"\\.\\DISPLAY2\\Monitor0\" 60 15\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_7.png\" alt=\"\" width=\"789\" height=\"269\" class=\"aligncenter size-full wp-image-49133\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_7.png 789w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_7-300x102.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/set_monitor_input_7-768x262.png 768w\" sizes=\"auto, (max-width: 789px) 100vw, 789px\" \/><\/p>\n<p>After we have saved the file, we can double-click on it to set the input of the monitor.<\/p>","protected":false},"excerpt":{"rendered":"<p>Two computers, one monitor? Fast switching directly in Windows.<\/p>\n","protected":false},"author":1,"featured_media":23189,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1558,2068],"class_list":["post-49137","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-windows-en","tag-windows-en-2"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/49137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=49137"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/49137\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/23189"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=49137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=49137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=49137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}