I have noticed that when the gui opens, no new process has stated in task manager making me think that the gui is running from the NIS.exe which is constantly running and shouldn't be terminated as this will terminate the anti-virus and firewall.
I am wondering why the send.keys command does not...
Thank you for your reply.
I have inserted the line you gave but now get this error
Windows Script Host
Line: 5
Char: 1
Error:Oject required 'wsexec'
Code:800A01A8
Source:Microsoft VBScript runtime error.
I am trying to create a script that can open a program, pause for 1 minute and then close the program.
I have successfully been able to open the program and pause but cannot get the script to close the program.
Here is my script.....
Set ObjShell = CreateObject("WScript.Shell")
ObjShell.Exec...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.