I think I see the problem now. There are lots of ways to get the icon manually, 
or with utilities, but suppose you're making a Dock utility for the user, and 
want them to pick any application to assign to a button, you would want LC to 
get the icon on the fly.

Photo Booth's icons are stored in the file PhotoBooth.icns. Mail's is stored in 
app.icns. Photoshop has its ones in PS_AppIcons.icns. So it may end up being 
tricky to know what the icon file is called. You could look at all of the files 
in the resources folder, and see which ones are icns. If there's only one then 
that would be the right file.

I'm not sure though how you would then extract the 32x32 icon from the set of 
images in the icns file.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to