On Dec 26, 2006, at 4:57 PM, Craig Hoyt wrote:
Happy Holidays All,
Since the list is at a slow point I don't mind using a little
bandwidth for an OT.
OSX 10.4.8 & RB 2K5r2
I'm pulling my hair out trying to come up with a way to quit all
applications (except mine). I would like to only have the processes
left that are running at logon and my app of course. Kind of a
restore to startup. I don't want to kill any startup items either -
basically any app that a user runs after a logon. Is there any way
to identify these apps? There are many processes that run under the
user account that I don't want to touch. Watching the activity
monitor and just doing a few tasks show that processes are launched
all the time. How do you walk the process list when it can be in
flux like that? (please, no GetNextProcess!) Is there some trick to
this or am I SOL?
I wouldn't say you're SOL, you can determine what the has started at
Login by parsing the "~/Library/Preferences/loginwindow.plist" file
and then compare what's there with the user's ps output (i.e.: ps -U
tjones). However, keep in mind that there are some apps that are
started by the system that are NOT in the loginwindow.plist file that
you shouldn't kill in any event.
HTH
Tim
--
Tim Jones
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>