[futurebasic] Re: [FB] Icon in bevel button from applications folder

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2009 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Wed, 22 Jul 2009 13:36:28 -0700
On Jul 21, 2009, at 7:29 PM, Brian Heibert wrote:

> Can I scan the application folder and display icons from all  
> applications into bevelbuttons


Iterate through the _kApplicationsFolderType folder ( and sub  
folders ) and look in Contents/Resources for each application to find  
the *. icns file. The strategy will work fine until you find an  
application with multiple *.icns files. At that point the search will  
need to consult the app's  info.plist and match the 'Icon File' key to  
the corresponding *.icns file.

Brian