<!doctype html><htmllang=enclass=no-js><head><metacharset=utf-8><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel=iconhref=../../../../assets/favicon.png><metaname=generatorcontent="mkdocs-1.6.0, mkdocs-material-9.5.31"><title>Enable End Task With Right Click - WinUtil Documentation</title><linkrel=stylesheethref=../../../../assets/stylesheets/main.3cba04c6.min.css><linkrel=stylesheethref=../../../../assets/stylesheets/palette.06af60db.min.css><linkrel=preconnecthref=https://fonts.gstatic.comcrossorigin><linkrel=stylesheethref="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><script>__md_scope=newURL("../../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script></head><bodydir=ltrdata-md-color-scheme=defaultdata-md-color-primary=indigodata-md-color-accent=indigo><inputclass=md-toggledata-md-toggle=drawertype=checkboxid=__drawerautocomplete=off><inputclass=md-toggledata-md-toggle=searchtype=checkboxid=__searchautocomplete=off><labelclass=md-overlayfor=__drawer></label><divdata-md-component=skip><ahref=#enable-end-task-with-right-clickclass=md-skip> Skip to content </a></div><divdata-md-component=announce></div><headerclass=md-headerdata-md-component=header><navclass="md-header__inner md-grid"aria-label=Header><ahref=../../../..title="WinUtil Documentation"class="md-header__button md-logo"aria-label="WinUtil Documentation"data-md-component=logo><imgsrc=../../../../assets/favicon.pngalt=logo></a><labelclass="md-header__button md-icon"for=__drawer><svgxmlns=http://www.w3.org/2000/svgviewbox="0 0 24 24"><pathd="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg></label><divclass=md-header__titledata-md-component=header-title><divclass=md-header__ellipsis><divclass=md-header__topic><spanclass=md-ellipsis> WinUtil Documentation </span></div><divclass=md-header__topicdata-md-component=header-topic><spanclass=md-ellipsis> Enable End Task With Right Click </span></div></div></div><formclass=md-header__optiondata-md-component=palette><inputclass=md-optiondata-md-color-media=(prefers-color-scheme)data-md-color-scheme=defaultdata-md-color-primary=indigodata-md-color-accent=indigoaria-label="Switch to light mode"type=radioname=__paletteid=__palette_0><labelclass="md-header__button md-icon"title="Switch to light mode"for=__palette_1hidden><svgxmlns=http://www.w3.org/2000/svgviewbox="0 0 24 24"><pathd="m14.3 16-.7-2h-3.2l-.7 2H7.8L11 7h2l3.2 9h-1.9M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69m-9.15 3.96h2.3L12 9l-1.15 3.65Z"/></svg></label><inputclass=md-optiondata-md-color-media="(prefers-color-scheme: light)"data-md-color-scheme=defaultdata-md-color-primary=indigodata-md-color-accent=bluearia-label="Switch to dark mode"type=radioname=__paletteid=__palette_1><labelclass="md-header__button md-icon"title="Switch to dark mode"for=__palette_2hidden><svgxmlns=http://www.w3.org/2000/svgviewbox="0 0 24 24"><pathd="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg></label><inputclass=md-optiondata-md-color-media="(prefers-color-scheme: dark)"data-md-color-scheme=slatedata-md-color-primary=blackdata-md-color-accent=bluearia-label="Switch to light mode"type=radioname=__paletteid=__palette_2><labelclass="md-header__button md-icon"title="Switch to light mode"for=__palette_0hidden><svgxmlns=http://www.w3.org/2000/svgviewbox="0 0 24 24"><pathd="m17.754.09-2.531.94.913.06
</span><spanid=__span-0-2><aid=__codelineno-0-2name=__codelineno-0-2href=#__codelineno-0-2></a><spanclass=w></span><spanclass=nt>"Content"</span><spanclass=p>:</span><spanclass=w></span><spanclass=s2>"Enable End Task With Right Click"</span><spanclass=p>,</span>
</span><spanid=__span-0-3><aid=__codelineno-0-3name=__codelineno-0-3href=#__codelineno-0-3></a><spanclass=w></span><spanclass=nt>"Description"</span><spanclass=p>:</span><spanclass=w></span><spanclass=s2>"Enables option to end task when right clicking a program in the taskbar"</span><spanclass=p>,</span>
</span><spanid=__span-0-17><aid=__codelineno-0-17name=__codelineno-0-17href=#__codelineno-0-17></a><spanclass=s2> # Set the property, creating it if it doesn't exist</span>
</span><spanid=__span-0-30><aid=__codelineno-0-30name=__codelineno-0-30href=#__codelineno-0-30></a><spanclass=s2> # Set the property, creating it if it doesn't exist</span>
</span><spanid=__span-1-10><aid=__codelineno-1-10name=__codelineno-1-10href=#__codelineno-1-10></a><spanclass=c># Set the property, creating it if it doesn't exist</span>
</span><spanid=__span-2-10><aid=__codelineno-2-10name=__codelineno-2-10href=#__codelineno-2-10></a><spanclass=c># Set the property, creating it if it doesn't exist</span>