I have a .vbs file that I need to execute while a QTP script is running to make sure that the pc isn't locked. Is there a way to automate scheduling this .vbs to run and then turning it off when the script is done?
Thanks,
Christine
Hi,
You can parameterize this file.Send parameters as On/Off.Based on those parameters, you can lock/unlock machine.
Else Use ExecuteFile(Unlockmachine.vbs)....which will unlock the machine & Executefile(LockMachine.vbs).
Two files UnlockMachine.vbs will unlock the machine & LockMachine.vbs will lock the machine
Christine -
Search on google for Caffeine.exe.
It will keep your system unlocked during the execution process.