• 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 all applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of all applications


  • Subject: Re: List of all applications
  • From: Christopher Stone <email@hidden>
  • Date: Mon, 21 Feb 2011 10:40:04 -0600

On Feb 21, 2011, at 07:22, Bruce Robertson wrote:
Something is happening; but we don't know what it is - do we, Mr. Stone.
______________________________________________________________________

Hey Bruce,

Unfortunately not.

I too have a strange issue (involving 'mdls' and a few applications it doesn't see properly), which other folks do not.  I'm going to repair permissions later today and see if that fixes anything.  I think I'll also rebuild my Spotlight indices.

What do you get if you run this one?

set cmd to "mdfind -onlyin /Applications/  'kMDItemFSName == \"*.app\"c'"
do shell script cmd

I get 472 items.

If I run: 

set cmd to "mdfind -onlyin /Applications/ 'kMDItemKind == \"Application\"'"
do shell script cmd

I get 472 items as well.

If I search the Applications folder for items which end with '.app' with File Buddy I get 472 items.

If I search the Applications folder with File Buddy for items which are an 'application' I get 476 items.

Parsing the differences - the extra items I find are:

Little Snitch Configuration.app
NetFinder.app
Register
WhiteNoise.app

Register turns out to be a little classic application that comes with Tex-Edit Plus:
  kMDItemKind = "Classic Application"

None of the others identify as applications, and strangely they cannot be found by 'name' with the normal find-by-name Spotlight search in the Finder (Command-Shift-F).

I was able to find them by searching for "filename:<name>".  Again; strange.

If repairing permissions and rebuilding SL indices does not solve these peculiarities I'll contact the developers.

Oh; BTW: In case you didn't know TextWrangler (freeware) & BBEdit both have a command line tool to redirect output to them.  In general I find that more convenient than dumping to a file.  BBEdit also has MPW-like worksheets, so you can run command line tools directly as well.

TextWrangler: ls -1lF | edit
      BBEdit: ls -1lF | bbedit

--
Best Regards,
Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: List of all applications (From: jan <email@hidden>)
 >Re: List of all applications (From: Bruce Robertson <email@hidden>)
 >Re: List of all applications (From: Christopher Stone <email@hidden>)
 >Re: List of all applications (From: Bruce Robertson <email@hidden>)
 >Re: List of all applications (From: Christopher Stone <email@hidden>)
 >Re: List of all applications (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: creating a file within a folder etc...
  • Next by Date: Re: Trouble downloading pdf's
  • Previous by thread: Re: List of all applications
  • Next by thread: Re: List of all applications
  • Index(es):
    • Date
    • Thread