1
我有这个简单的Windows JavaScript,它将每隔30分钟弹出一个提醒10秒钟。如何让弹出窗口出现在所有其他窗口的顶部?Windows脚本主机弹出 - 在其他窗口之上
var wshShell = WScript.CreateObject("WScript.Shell");
while(1) {
var value = wshShell.Popup("Reminder text", 10, "Reminder", 0x1);
if (value == 2) { // Cancel button pressed
break;
}
WScript.sleep(30 * 60 * 1000); // Every 30 minutes
}
WScript.Echo("Exiting timer!");