![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
| | | LinkBack | Thread Tools | Search Thread | Language |
| Sponsored Links |
| | #1 |
![]() Join Date: Feb 2008 Location: UK
Posts: 209
Thanks: 6
Thanked 2 Times in 2 Posts
Blog Entries: 8 Rep Power: 2 | Does anyone know what the Java code would be to check taskmanager to see if an application is open and if not start it? I have Googled but could not find anything. |
| |
| | #2 |
![]() Join Date: May 2008 Location: Leeds
Posts: 56
Thanks: 1
Thanked 6 Times in 5 Posts
Rep Power: 3 | The proper way to do it would be to use JNI to interface with Windows Management Instrumentation (WMI). List currently running processes (Windows) - Real's Java How-to offers a way by capturing the stdout of tasklist.exe, a command-line variant of taskmgr. hth |
| |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Task management? | ClaireL | Windows | 4 | 19-05-2008 02:38 PM |
| Deploy a scheduled task! | Ste_Harve | How do you do....it? | 2 | 14-09-2007 02:04 PM |
| got some places one task it course | russdev | General EduGeek News/Announcements | 7 | 24-03-2006 10:19 AM |
| Task timeframes. | Jake | How do you do....it? | 8 | 06-01-2006 01:16 PM |
| The pupils need to be able to configure PC to do this task | tosca925 | Windows | 9 | 08-11-2005 10:45 AM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
|
|






