China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-03 12:53
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Pop up a prompt after the specified time View 2,585 Replies 18
Floor 16 Posted 2007-02-12 22:54 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
19-year member
UID 60532
Status Offline
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?
Floor 17 Posted 2007-02-12 23:00 ·  中国 吉林 四平 联通
高级用户
★★★
Credits 859
Posts 413
Joined 2006-08-14 21:55
19-year member
UID 60532
Status Offline
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?
Floor 18 Posted 2007-02-13 02:30 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
wscript.sleep 1000*15*60
Wait for 15 minutes

timer returns the current time.
Floor 19 Posted 2007-02-20 06:46 ·  中国 广东 东莞 电信
新手上路
Credits 12
Posts 6
Joined 2007-01-25 04:57
19-year member
UID 77596
Gender Male
Status Offline
Forum Jump: