Ale*_*Kim 6 windows boot windows-10
我试图让程序(例如:Thunderbird)在启动时加载的步骤,但最小化:
重新启动 Windows,它确实启动,但最大化!无法将其最小化,就像在 MacOS 上一样,我可以将其设置为隐藏。
你的方法似乎不适合我。您可以创建一个在用户登录时运行的计划任务,并附加以下批处理 (.bat) 文件。
start /min "" "C:\Program Files\Mozilla\Thunderbird.exe"
然后,您可以通过应用程序数据路径禁用 Thunderbird 程序在启动时运行。
代码的其他选项:
将其另存为 .ps1
@echo off
start thunderbird
$wshell = New-Object -ComObject wscript.shell;
$wshell.AppActivate('*Mozilla Thunderbird')
Sleep 2
$wshell.SendKeys('(%(" "(n)))')
Run Code Online (Sandbox Code Playgroud)
**确保当 Thunderbird 打开时,设置电子邮件箱不存在(客户端已配置)并且不会提示您使用默认邮件应用程序。