Anti-locking method in VB Scripting?
问题 If system locks every 5 minutes, what VB Scripting method is used to avoid system locking every 5 minutes? 回答1: Save this file in the format of .vbs Change the Sleep Time 400 based on your requirement. Set wshShell =wscript.CreateObject("WScript.Shell") do wscript.sleep 400 wshshell.sendkeys "{SCROLLLOCK}" wscript.sleep 400 loop 回答2: Perhaps, WScript.SendKeys could help: msdn Something like double-ScrollLock, I guess? PS. You'll need to put that in a loop with a sleep, of course. 回答3: The