05-11-2011, 08:01 AM
Thanks for reply, after the computer reboot, I thought the flag in runtime sheet will not saved, so this will not work.
save the flag in external file can help, but if the action(which will process reboot computer) was called by many other actions, how
do i set the flags? set different flag for each actions?
For example, scenario1 contains action1, action2(which will reboot my computer) and action3; scenario2 contains action4, action2 and action5, when scenario1 done , the vbs suppose to run scenario2, but the computer reboot when it run action2,scenario1, in this situation , i can re call the vbs again but how i set the flags to make it ignore action1 and action2 of scenario? and when the action2 of scenario was executed, how to make the vbs to ignore the whole scenario1 and part of scenario2?
if i set one flag to each actions, it seems can do, but i have almost 100 actions now and it will grow soon, maintenance the flag file will be my nightmare.
thanks!
save the flag in external file can help, but if the action(which will process reboot computer) was called by many other actions, how
do i set the flags? set different flag for each actions?
For example, scenario1 contains action1, action2(which will reboot my computer) and action3; scenario2 contains action4, action2 and action5, when scenario1 done , the vbs suppose to run scenario2, but the computer reboot when it run action2,scenario1, in this situation , i can re call the vbs again but how i set the flags to make it ignore action1 and action2 of scenario? and when the action2 of scenario was executed, how to make the vbs to ignore the whole scenario1 and part of scenario2?
if i set one flag to each actions, it seems can do, but i have almost 100 actions now and it will grow soon, maintenance the flag file will be my nightmare.
thanks!