From: Jim Menard Date: 2002-06-02T02:48:07+09:00 Subject: Re: Finding all applications Chris Gehlker writes: > In trying to add drag and drop scripting to RubyStudio and the first task is > to simply make a set of all the applications on the local volumes. I've > fallen into some gnarlyesque Carbon code. Before I proceed further down this > thorny path, is there some simple unix way of doing this. Any pointers > appreciated. I'm away from my MacOS X box, but have you tried this? find / -type d -name '*.app' (Wrap that in a Ruby system() command, of course.) Jim -- Jim Menard, jimm@io.com, http://www.io.com/~jimm/ "Any sufficiently complicated C or Fortran program contains an ad hoc informally-specified bug-ridden slow implementation of half of Common Lisp." -- Greenspun's Tenth Rule of Programming