Hi,
I need a Windows Script to give process Turnaround time.
Hi,
I need a Windows Script to give process Turnaround time.
So you want a window to appear which has the time or a countdown for a process?
1. How are you making this? Javascript? Flash? Is there server side code involved, will you need ajax?
2. What is the process, and how do you know how long it will take?
3. Do you have any code yet? Post it if you do.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
I need to retrieve all the windows process turnaround time.
Ex: if we work on MS Word for 20 min. then it should be capable of calculating the time we spent on MS Word.
I hope you understood the problem.
I have the script which gives the windows process owner:
Here we need to pass the process name, then this will reterive the Owner of the process.
Set WshShell = WScript.CreateObject(\"WScript.Shell\")
Set locator = CreateObject(\"WbemScripting.SWbemLocator\")
Set service = locator.ConnectServer()
Set processes = service.ExecQuery _
(\"select * from Win32_Process where name=process_name ")
For Each objProcess in processes
Return = objProcess.GetOwner(strNameOfUser)
Wscript.Echo strNameOfUser
Next
Set WshShell = Nothing.
I need to retrieve all the windows process turnaround time.
Ex: if we work on MS Word for 20 min. then it should be capable of calculating the time we spent on MS Word.
I hope you understood the problem.
I have the script which gives the windows process owner:
Here we need to pass the process name, then this will reterive the Owner of the process.
Set WshShell = WScript.CreateObject(\"WScript.Shell\")
Set locator = CreateObject(\"WbemScripting.SWbemLocator\")
Set service = locator.ConnectServer()
Set processes = service.ExecQuery _
(\"select * from Win32_Process where name=process_name ")
For Each objProcess in processes
Return = objProcess.GetOwner(strNameOfUser)
Wscript.Echo strNameOfUser
Next
Set WshShell = Nothing.
Bookmarks