-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Accepted 🌱 受理Maintainer may be busy resolving or fixing the labeled issuesMaintainer may be busy resolving or fixing the labeled issuesBug 🐞 故障Confirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugsDelayed ⌛ 延期Issues have been accepted but won't be settled in timeIssues have been accepted but won't be settled in timeDuplicate 🐾 重复Issues and Pull Requests which are duplicates of existing onesIssues and Pull Requests which are duplicates of existing ones
Description
比如启动下面的脚本,控制台会正常输出,但是启动任意一个新脚本(即使为空脚本),控制台就不打印监听日志了,旧脚本在任务界面还显示运行中
console.show()
auto();
auto.registerEvent("WINDOW_STATE_CHANGED", function (event) {
console.log("窗口变化:"+event.packageName+"\n"+event.className);
});
events.on('exit', function () {
auto.removeEvent("WINDOW_STATE_CHANGED");
toastLog("退出监听")
});
setInterval(function () {
}, 1000);Metadata
Metadata
Assignees
Labels
Accepted 🌱 受理Maintainer may be busy resolving or fixing the labeled issuesMaintainer may be busy resolving or fixing the labeled issuesBug 🐞 故障Confirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugsDelayed ⌛ 延期Issues have been accepted but won't be settled in timeIssues have been accepted but won't be settled in timeDuplicate 🐾 重复Issues and Pull Requests which are duplicates of existing onesIssues and Pull Requests which are duplicates of existing ones