• 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: Adam Hinshaw <email@hidden>
  • Date: Wed, 16 Apr 2003 13:51:07 +1000

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.

.adam

on 16/4/03 12:44 PM, Kai at email@hidden wrote:

> Did you try this one, Adam?
>
> ======================================
>
> tell application "System Events" to [NoBreak]
> (processes whose file type is not "appe")'s name
>
> ======================================
>
> Just a thought...



>> just replying to my own post from last week.
>>
>> i ended up finding a simplistic way to do this and thought some one else may
>> find it useful.
>>
>> -------------
>> tell application "System Events"
>> tell process "Dock" to set dockStuff to title of every UI element
>> set runningApps to {}
>> set procs to the title of application processes
>> repeat with curApp in dockStuff
>> if curApp is in procs then
>> set runningApps to runningApps & curApp
>> end if
>> end repeat
>> end tell
>>
>> return runningApps
_______________________________________________
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.

  • Follow-Ups:
    • Re: list of (non-background) processes
      • From: Emmanuel <email@hidden>
References: 
 >Re: list of (non-background) processes (From: Kai <email@hidden>)

  • Prev by Date: Re: list of (non-background) processes
  • Next by Date: Re: OS X fonts
  • Previous by thread: Re: list of (non-background) processes
  • Next by thread: Re: list of (non-background) processes
  • Index(es):
    • Date
    • Thread