Re: list of (non-background) processes
Re: list of (non-background) processes
- Subject: Re: list of (non-background) processes
- From: Emmanuel <email@hidden>
- Date: Wed, 16 Apr 2003 12:37:37 +0200
At 1:51 PM +1000 16/04/03, Adam Hinshaw wrote:
kai,
yeah i went down the file type filter route but in OSX "appe" seems to be a
bit redundant (ie, under used). Nearly every process is "APPL", including
invisible/background stuff like the dock and login window. Seems background
apps in OSX don't have a unique property that AS can identify.
In case it helps, you could run some line such as:
-----------------------------------
do shell script "ps -xc -O flags"
-----------------------------------
You'll get the flags. Run "man ps" to learn what they mean oops I
mean to *read* what they mean. I see that non-background apps have
that same "4005" (hexa 0FA5) flag. Maybe you could rely on this, I
don't know.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.