中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-10 21:35
47,815 topics / 349,930 posts / today 0 new / 48,291 members
DOS批处理 & 脚本技术(批处理室) » Pop up a prompt after the specified time
Printable Version  3,131 / 18
Floor16 anqing Posted 2007-02-12 22:54
高级用户 Posts 413 Credits 859
Regarding the VBS in floor 13
I set it for 1 hour. The time was 10:16, but by 11:25, the "ws.popup" "The time you limited has arrived! Please prepare to log off!" did not appear. 60, "Prompt"
Please improve the code?
Floor17 anqing Posted 2007-02-12 23:00
高级用户 Posts 413 Credits 859
Finally came out, but it appeared at 11:30, that is to say, I set it for 1 hour, the set time was 10:16, and it gave a prompt at 11:30, with a delay of 14 minutes.
I changed the time to 11:14 after 10:16, and then waited. I didn't expect to wait for 14 minutes before it came out.
I don't know what the reason is?

timer
Can you explain the function of this function?
Floor18 slore Posted 2007-02-13 02:30
铂金会员 Posts 2,478 Credits 5,212
wscript.sleep 1000*15*60
Wait for 15 minutes

timer returns the current time.
Floor19 pxcok Posted 2007-02-20 06:46
新手上路 Posts 6 Credits 12
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023