{"id":1755,"date":"2023-09-18T19:37:56","date_gmt":"2023-09-18T11:37:56","guid":{"rendered":"https:\/\/white-night.club\/?p=1755"},"modified":"2024-02-23T20:39:55","modified_gmt":"2024-02-23T12:39:55","slug":"blog14","status":"publish","type":"post","link":"https:\/\/white-night.club\/index.php\/2023\/09\/18\/blog14\/","title":{"rendered":"\u7528bat\u6b63\u786e\u7684\u542f\u52a8\/\u5173\u95edWallpaper Engine\uff08\u58c1\u7eb8\u5f15\u64ce\uff09"},"content":{"rendered":"\n<p>\u8001\u6837\u5b50\uff0c\u5148\u653e\u4ee3\u7801\u3002<a href=\"https:\/\/github.com\/WhiteNight-SZTU\/BatVault\" data-type=\"URL\" data-id=\"https:\/\/github.com\/WhiteNight-SZTU\/BatVault\" target=\"_blank\" rel=\"noreferrer noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086ff\" class=\"has-inline-color\">\u8fd9\u91cc\u662fGitHub\u4ed3\u5e93<\/mark><\/a>\u3002<\/p>\n\n\n\n<p><em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffdf00\" class=\"has-inline-color\">\u542f\u52a8\u7f51\u6613\u4e91\u97f3\u4e50\u548cWallpaperEngine.bat<\/mark><\/em><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">BAT (Batchfile)<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/d D:\\Program Files (x86)\\Netease\\CloudMusic\nstart cloudmusic.exe\ncd \/d D:\\Program Files (x86)\\Steam\\steamapps\\common\\wallpaper_engine\nstart launcher.exe\nwallpaper32.exe -control play\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #569CD6\">cd<\/span><span style=\"color: #D4D4D4\"> \/d D:\\Program Files (x86)\\Netease\\CloudMusic<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">start<\/span><span style=\"color: #D4D4D4\"> cloudmusic.exe<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">cd<\/span><span style=\"color: #D4D4D4\"> \/d D:\\Program Files (x86)\\Steam\\steamapps\\common\\wallpaper_engine<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">start<\/span><span style=\"color: #D4D4D4\"> launcher.exe<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">wallpaper32.exe -control play<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffdf00\" class=\"has-inline-color\">\u5173\u95ed\u7f51\u6613\u4e91\u97f3\u4e50\u548cWallpaperEngine.bat<\/mark><\/em><\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#2b2b2b;color:#c7c7c7\">BAT (Batchfile)<\/span><span role=\"button\" tabindex=\"0\" data-code=\"cd \/d D:\\Program Files (x86)\\Netease\\CloudMusic\ntaskkill \/f \/im cloudmusic.exe\ncd \/d D:\\Program Files (x86)\\Steam\\steamapps\\common\\wallpaper_engine\ntaskkill \/f \/im ui32.exe\nwallpaper32.exe -control stop\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #569CD6\">cd<\/span><span style=\"color: #D4D4D4\"> \/d D:\\Program Files (x86)\\Netease\\CloudMusic<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">taskkill<\/span><span style=\"color: #D4D4D4\"> \/f \/im cloudmusic.exe<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">cd<\/span><span style=\"color: #D4D4D4\"> \/d D:\\Program Files (x86)\\Steam\\steamapps\\common\\wallpaper_engine<\/span><\/span>\n<span class=\"line\"><span style=\"color: #569CD6\">taskkill<\/span><span style=\"color: #D4D4D4\"> \/f \/im ui32.exe<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">wallpaper32.exe -control stop<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u5927\u90e8\u5206\u6307\u4ee4\u90fd\u5728\u4e0a\u4e00\u7bc7\u535a\u5ba2\u63d0\u5230\u8fc7\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\"><em>taskkill<\/em><\/mark>\u548c<em><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">wallpaper32.exe -control<\/mark><\/em>\u9664\u5916\u3002<\/p>\n\n\n\n<p>taskkill&#8230;\u987e\u540d\u601d\u4e49\u5c31\u662f\u201c\u6740\u6b7b\u4efb\u52a1\u201d\u3002\u4e24\u4e2a\u53c2\u6570\u7684\u8bdd\u5148\u6765\u770b\u770b\u5fae\u8f6f\u5b98\u65b9\u7684\u89e3\u91ca\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-vivid-cyan-blue-color has-text-color\">\n<p>\u4e24\u4e2a\u53c2\u6570\u7684\u5b98\u65b9\u82f1\u6587\u89e3\u91ca<\/p>\n<cite>\/f\uff1aSpecifies that processes be forcefully ended. This parameter is ignored for remote processes; all remote processes are forcefully ended.<br><br>\/im&nbsp;<code>&lt;imagename&gt;<\/code>\uff1aSpecifies the image name of the process to be terminated. Use the wildcard character (<code>*<\/code>) to specify all image names.<\/cite><\/blockquote>\n\n\n\n<p>\u7b2c\u4e00\u4e2a\u5f88\u660e\u663e\uff0c\u5c31\u662f&#8221;force&#8221;\u7684\u610f\u601d\uff0c\u5f3a\u5236\u7ec8\u6b62\u8be5\u8fdb\u7a0b\u3002\u4e0d\u8fc7\u8fd9\u91cc\u5176\u5b9e\u7528\/t\u53bb\u7ed3\u675f\u8be5\u8fdb\u7a0b\u53ca\u5176\u5b50\u8fdb\u7a0b\u4f1a\u66f4\u597d\u4e00\u4e9b\uff0c\u4e0d\u8fc7\u6211\u62c5\u5fc3\u628a\u7535\u8111\u73a9\u574f\u6240\u4ee5\u8fd8\u662f\u9009\u62e9\u4e86\u6bd4\u8f83\u4fdd\u9669\u7684\/f\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e8c\u4e2a\u53c2\u6570\uff0c\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u6307\u5b9a\u4f60\u8981\u5173\u95ed\u7684\u201dexe\u201c\u3002\u81f3\u4e8e\u8fd9\u91cc\u7684image\u88ab\u7ffb\u8bd1\u6210\u6620\u50cf\uff0c\u521d\u6b21\u63a5\u89e6\u53ef\u80fd\u6709\u70b9\u61f5\uff0c\u540e\u671f\u627e\u4e2a\u65f6\u95f4\u518d\u89e3\u91ca\u4e3a\u5565\u628a\u5b83\u7ffb\u8bd1\u6210\u6620\u50cf\uff0c\u4ee5\u53ca\u6620\u50cf\u548cexe\u5230\u5e95\u6709\u4ec0\u4e48\u5173\u7cfb\u3002<\/p>\n\n\n\n<p>\u800c<em>wallpaper32.exe -control<\/em>\u5219\u662f\u901a\u8fc7CMD\u63a7\u5236wallpaper engine\uff0c\u8be6\u7ec6\u53ef\u89c1<a href=\"https:\/\/help.wallpaperengine.io\/zh\/functionality\/cli.html#%E5%91%BD%E4%BB%A4%E6%A6%82%E8%A7%88\" data-type=\"URL\" data-id=\"https:\/\/help.wallpaperengine.io\/zh\/functionality\/cli.html#%E5%91%BD%E4%BB%A4%E6%A6%82%E8%A7%88\"><mark style=\"background-color:rgba(0, 0, 0, 0);color:#0086ff\" class=\"has-inline-color\">\u5b98\u65b9\u6587\u6863<\/mark><\/a>\u3002\u4e0d\u8fc7\u5176\u4ed6\u7684\u547d\u4ee4\u5176\u5b9e\u4e0d\u592a\u5e38\u7528\uff0c\u8fd9\u91cc\u4e5f\u53ea\u7528\u5230\u4e86-control play\/stop\u8fd9\u4e24\u4e2a\u53c2\u6570\u3002<\/p>\n\n\n\n<p>\u81f3\u4e8e\u4e3a\u4ec0\u4e48\u8981\u5e26\u8fd9\u4e24\u4e2a\u53c2\u6570\u3002\u9996\u5148\u662f\u5bf9\u4e8e\u201c\u5173\u95edwallpaper engine\u201d\u8fd9\u4e2abat\uff0cui32.exe\u4e3awpe\uff08<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">\u4e3a\u4e86\u65b9\u4fbf\uff0c\u7528wpe\u7b80\u79f0wallpaper engine<\/mark>\uff09\u7684ui\u754c\u9762\uff0c\u800cwallpaper32.exe\u624d\u662fwpe\u7684\u540e\u53f0\u5e94\u7528\u3002\u7136\u800c\u867d\u7136\u901a\u8fc7taskkill\u5f3a\u5236\u505c\u6b62ui32.exe\u65f6\u4e0d\u4f1a\u6709\u5565\u95ee\u9898\uff0c\u4f46\u662f\u5f3a\u5236\u505c\u6b62wallpaper32.exe\u65f6\u5219\u4f1a\u5bfc\u81f4wpe\u5360\u7528\u7684\u8d44\u6e90\u65e0\u6cd5\u88ab\u5b8c\u5168\u91ca\u653e\uff0c\u4f1a\u51fa\u73b0\u201c<mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcb900\" class=\"has-inline-color\">\u5373\u4f7f\u5173\u95ed\u4e86wpe\u7684\u8fdb\u7a0b\u53ca\u5176\u5b50\u8fdb\u7a0b\uff0c\u4f60\u7684\u684c\u9762\u80cc\u666f\u5374\u65e0\u6cd5\u590d\u539f<\/mark>\u201d\u7684\u60c5\u51b5\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-vivid-cyan-blue-color has-text-color\">\n<p>\u5199\u8005\u6ce8<\/p>\n<cite>\u5982\u679c\u5f3a\u5236\u9000\u51fawpe\u65f6\u78b0\u5230\u8fd9\u79cd\u60c5\u51b5\u53ef\u4ee5\u901a\u8fc7\u91cd\u65b0\u6253\u5f00wpe\uff0c\u518d\u901a\u8fc7\u53f3\u952e\u53f3\u4e0b\u89d2\u7cfb\u7edf\u6258\u76d8wpe\u7684\u5c0f\u56fe\u6807\u624b\u52a8\u9000\u51fa\uff0c\u5373\u53ef\u89e3\u51b3\u3002<\/cite><\/blockquote>\n\n\n\n<p>\u6240\u4ee5\u6211\u4eec\u8981\u901a\u8fc7\u547d\u4ee4\u884c\u63a7\u5236wpe\uff0c\u8ba9\u5b83\u81ea\u5df1\u53bb\u91ca\u653e\u81ea\u5df1\u5360\u7528\u7684\u8d44\u6e90\u3002\u8fd9\u4e5f\u662f\u4e3a\u5565\u8981\u7528<em>wallpaper32.exe -control stop<\/em>\u53bb\u5173\u95edwpe\u7684\u539f\u56e0\u3002<\/p>\n\n\n\n<p>\u4e0d\u8fc7\u8fd9\u4e48\u5173\u95ed\u8fd8\u4f1a\u6709\u4e00\u4e2a\u95ee\u9898\uff0cwpe\u5728\u4e0b\u6b21\u542f\u52a8\u65f6\u4e0d\u4f1a\u81ea\u52a8\u52a0\u8f7d\u4f60\u4e0a\u6b21\u9000\u51fa\u65f6\u4f7f\u7528\u7684\u58c1\u7eb8\u3002\u6240\u4ee5\u8981\u7528<em>wallpaper32.exe -control play<\/em>\u6765\u64ad\u653e\u58c1\u7eb8\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote has-vivid-cyan-blue-color has-text-color\">\n<p>\u5199\u8005\u6ce8<\/p>\n<cite>\u7528CMD\u64cd\u63a7wpe\u7684\u8bdd\uff0c\u53ef\u4ee5\u6307\u5b9a\u8981\u64ad\u653e\u7684\u58c1\u7eb8\u3002\u5177\u4f53\u7684\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u6587\u6863\u3002<\/cite><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote has-vivid-cyan-blue-color has-text-color\">\n<p>\u5199\u8005\u6ce8<\/p>\n<cite>\u4e00\u5f00\u59cb\u60f3\u628a\u8fd9\u7bc7\u6587\u7ae0\u5f52\u7c7b\u5230\u6280\u672f\u6808\u90a3\u5757\u7684\u3002\u4f46\u60f3\u4e86\u60f3\u8fd9\u73a9\u610f\u770b\u4e0b\u5b98\u65b9\u6587\u6863\u5c31\u80fd\u641e\u61c2\u4e86\uff0c\u6240\u4ee5\u60f3\u4e86\u60f3\u8fd8\u662f\u7528\u4e86\u6ca1\u90a3\u4e48\u6b63\u5f0f\u7684\u201c\u65e5\u5fd7\u201d\u683c\u5f0f\u3002\u6bd5\u7adf\u201d\u6280\u672f\u6808\u201c\u90a3\u5757\u7684\u6587\u7ae0\u683c\u5f0f\u8981\u66f4\u52a0\u201d\u89c4\u8303\u201c\u4e00\u5b9a\uff0c\u201d\u65e5\u5fd7\u201c\u8fd9\u8fb9\u7684\u6587\u7ae0\u683c\u5f0f\u5c31\u6bd4\u8f83\u968f\u610f\u4e86\u3002<\/cite><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u547d\u4ee4\u884c\u53c2\u6570\u6765\u63a7\u5236 Wallpaper Engine<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"base","format":"standard","meta":{"footnotes":""},"categories":[14,12],"tags":[74,59],"_links":{"self":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/1755"}],"collection":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/comments?post=1755"}],"version-history":[{"count":0,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"wp:attachment":[{"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/white-night.club\/index.php\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}