Skip to content
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

✨添加一个类似于MAA的, 运行完当前所有任务后, 关闭模拟器并使电脑休眠的选项 #355

Open
WC-OP opened this issue Jul 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@WC-OP
Copy link

WC-OP commented Jul 26, 2024

当前不足

家里有一台空闲的电脑, 但是我觉得一直开着机有点费电。

解决方案

之前使用MAA时, 可以通过windows计划任务或者远程开机卡之类的工具, 达到定时唤醒睡眠状态中的电脑; 在脚本运行完当前累积的任务之后, 直接关闭模拟器, 然后将电脑休眠或者睡眠, 下一次电脑被唤醒之后, 可以接着运行累积下来的任务。这样的话可以每隔几个小时打开一次电脑, 电脑一天运行的时间也不会很长, 告别待机的电费和电脑待机时的灯光污染。

其他内容

No response

@WC-OP WC-OP added the enhancement New feature or request label Jul 26, 2024
@runhey
Copy link
Owner

runhey commented Jul 27, 2024

好建议

@WC-OP
Copy link
Author

WC-OP commented Aug 2, 2024

使用rundll32.exe powrprof.dll,SetSuspendState 0,1,0可以睡眠电脑

@runhey
Copy link
Owner

runhey commented Aug 30, 2024

我翻翻alas那边有没有,直接复制粘贴最好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants