编码模式开启勿扰模式,结束勿扰模式。
def start():
# 在此处开始编写您的应用
rpa.system.no_disturb_mode.start() # 开启勿扰模式
sleep(10)
rpa.system.no_disturb_mode.stop() # 退出勿扰模式
在勿扰模式进行中的时候,可以通过ctrl+shift+alt+F12退出勿扰模式。
编码模式开启自动解锁,关闭自动解锁。
pwd = "xxxxxx"
def start():
# 在此处开始编写您的应用
rpa.system.screen_unlocker.set_password(pwd) # 设置解锁密码
rpa.system.screen_unlocker.start() # 启动自动解锁
sleep(10)
rpa.system.screen_unlocker.stop() # 退出自动解锁
在文档使用中是否遇到以下问题
更多建议
匿名提交