Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
ProcessName = "notepad.exe" Set objWMI = GetObject("winmgmts:\\.\root\cimv2") Do Set colItems = objWMI.ExecQuery ("Select * from Win32_Process Where Name = '" & ProcessName & "'") wscript.sleep 1500 Loop While colItems.Count = 0 Set colProcesses = objWMI.ExecNotificationQuery ("Select * From __InstanceDeletionEvent " _ & "Within 1 Where TargetInstance ISA 'Win32_Process' And TargetInstance.Name = '" & ProcessName & "'") Do Set objProcess = colProcesses.NextEvent Set objWMIService = GetObject ("winmgmts:\\.\root\cimv2:Win32_Process") objWMIService.Create ProcessName, null, null, intProcessID msgbox "Started" Loop
|Exit Loop after User Input||4||47|
|Vb script to unzip a files and rename the files||5||90|
|Script is being strange||8||68|
|How can I modify this Excel worksheet with a script?||15||81|