• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: list of (non-background) processes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: list of (non-background) processes (From: Adam Hinshaw <email@hidden>)

  • Prev by Date: Re: Palm Desktop Script 101?
  • Next by Date: Re: Getting the labels of a record
  • Previous by thread: Re: list of (non-background) processes
  • Next by thread: Script application hdiutil mount errors
  • Index(es):
    • Date
    • Thread