Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim WSH
Set WSH = WScript.CreateObject("WScript.Shell")
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set service = locator.ConnectServer()
Set props = service.ExecQuery("select name, description from Win32_Process where name = 'taskmgr.exe'")
num = props.Count
If num > 0 Then
'Program is running
WSH.Run "C:\Windows\Notepad.exe"
Else
'Program is not running
WSH.Popup "Program is not running"
End If
Set WSH = Nothing