-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VBScript 未来会被移除,Windows 自启动方案讨论 #14
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
试了下 subprocess.Popen(["python", "embyToLocalPlayer.py"], creationflags=subprocess.CREATE_NO_WINDOW) 似乎可以挂在后台运行.. |
之前把脚本输出去掉后( |
我找到一个比较轻量级的开源解决方案 SilentCMD,虽然已经好几年不维护了, <setting name="DefaultBatchFilePath" serializeAs="String">
<value>python</value>
</setting>
<setting name="DefaultBatchFileArguments" serializeAs="String">
<value>embyToLocalPlayer.py</value>
</setting>
<setting name="DefaultLogFilePath" serializeAs="String">
<value>%temp%\embyToLocalPlayer.log</value>
</setting> 给 |
把 |
各系统预装版本可看这里 .NET Framework 版本和依赖关系, |
|
有更好的方案了 NriCmd,好像并不开源,兼容性堪称逆天,没啥特殊要求。
下载解压之后只要保留 |
作为默认组件还是不很合适,相比更倾向于 ahk,对喜欢开源的用户更友好可控。 |
AutoHotkey 自启动解决方案:
|
微软宣布弃用 VBScript 脚本语言,将在未来的 Windows 版本中移除
Windows 客户端的已弃用功能
就是不知道微软的效率,多久后被彻底移除。
这就有点难受了,如果以windows服务方式启动,运行播放器时只有进程看不到播放器窗口,因为服务是SYSTEM用户,和普通用户不在同一个会话。
很难找到vbs的替代方案,既能隐藏黑窗口,又能正常运行播放器。
The text was updated successfully, but these errors were encountered: