Windows Scripting: A Comprehensive Guide to Remote Events, Security, and Script Creation
1. Remote Object Events
The WshRemote object comes with three useful events that can be incorporated into scripts. These events are triggered when the script starts, ends, or encounters an error.
- Start Event : When you use the
Executemethod to start a remote script, theStartevent fires. Here, you can insert code to notify yourself or users that the script has begun. Initialization code can also be placed here. - End Event : This event fires when the script terminates. The termination could be normal, due to a timeout, or abnormal because of an error. One common us
超级会员免费看
订阅专栏 解锁全文
791

被折叠的 条评论
为什么被折叠?



