{"id":510,"date":"2013-06-01T16:08:11","date_gmt":"2013-06-01T15:08:11","guid":{"rendered":"https:\/\/hoover.gplrank.de\/?p=510"},"modified":"2013-06-01T16:16:11","modified_gmt":"2013-06-01T15:16:11","slug":"using-nircmd-to-control-rfactor2s-and-others-output-volume","status":"publish","type":"post","link":"https:\/\/hoover.gplrank.de\/?p=510","title":{"rendered":"Using nircmd and AutoHotKey to control rfactor2&#8217;s (and other applications) output volume"},"content":{"rendered":"<p>Thanks to Noel Hibbard&#8217;s excellent suggestion, I can now control rf2&#8217;s (and rfactor&#8217;s) output volume using hotkeys assigned to the &#8220;<strong>AutoHotKey<\/strong>&#8221; command utility. Volume control is realized by using &#8220;<strong>nircmd.exe<\/strong>&#8220;, another fine freeware tool which can do much more than just control app volumes (google will find both tools quite easily for you).<\/p>\n<p><a href=\"https:\/\/hoover.gplrank.de\/wp-content\/uploads\/2013\/06\/rfactor2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-514\" alt=\"rfactor2\" src=\"https:\/\/hoover.gplrank.de\/wp-content\/uploads\/2013\/06\/rfactor2.jpg\" width=\"1600\" height=\"839\" \/><\/a><\/p>\n<p>(c) VirturalR.net<\/p>\n<p>In the following setup as copied from my AutoHotKey&#8217;s default setup file, Ctrl-PageUp \/ PageDown increases \/ decreases rfactor(2)&#8217;s sound output, while ALT-F3 mutes vlc.exe (or toggles the mute, rather) as I often watch real life racing on TV with half an eye on the 2nd monitor while beta testing rf2 which is very handy for those nasty ad breaks:<\/p>\n<p>&nbsp;<\/p>\n<pre>^PgUp::\r\n Run, nircmd.exe changeappvolume rFactor2.exe 0.05,,Hide\r\n Run, nircmd.exe changeappvolume rFactor.exe 0.05,,Hide\r\nReturn<\/pre>\n<pre>^PgDn::\r\n Run, nircmd.exe changeappvolume rFactor2.exe -0.05,,Hide\r\n Run, nircmd.exe changeappvolume rFactor.exe -0.05,,Hide<\/pre>\n<pre>Return<\/pre>\n<pre>^!PgUp::\r\n Run, nircmd.exe changeappvolume ts3client_win64.exe 0.05,,Hide\r\nReturn<\/pre>\n<pre>^!PgDn::\r\n Run, nircmd.exe changeappvolume ts3client_win64.exe -0.05,,Hide\r\nReturn<\/pre>\n<pre>^!F3::\r\n Run, nircmd.exe mutesysvolume 2 ,, Hide\r\nReturn<\/pre>\n<pre>!F3::\r\n Run, nircmd.exe muteappvolume vlc.exe 2 ,, Hide\r\n\r\nReturn<\/pre>\n<p>&nbsp;<\/p>\n<p>Note that you&#8217;re not limited to using the keyboard, you might just as well use buttons on your wheel or shifter (the autohotkey documentation has all the details).<\/p>\n<p>&nbsp;<\/p>\n<p>I hope you find this info useful and enjoy a more or less &#8220;noise-free&#8221; racing experience.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to Noel Hibbard&#8217;s excellent suggestion, I can now control rf2&#8217;s (and rfactor&#8217;s) output volume using hotkeys assigned to the &#8220;AutoHotKey&#8221; command utility. Volume control is realized by using &#8220;nircmd.exe&#8220;, another fine freeware tool which can do much more than just control app volumes (google will find both tools quite easily for you). (c) VirturalR.net [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,3],"tags":[],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-racing","category-simracing"],"_links":{"self":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=510"}],"version-history":[{"count":8,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":512,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions\/512"}],"wp:attachment":[{"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoover.gplrank.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}