Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides
New in version: 5.4 6.0 6.1 6.2 6.3 6.4 6.5 7.0 7.1 7.2 Statistic
Queries the Finder icon for the file or folder with the given path.
|Path||The path to the file or folder.||"/Applications"|
|Size||The size of the icon picture you'd like to have. Suggested range is from 16 to 512 pixel.||512|
DescriptionQueries the Finder icon for the file or folder with the given path.
This method tries first to get QuickLook preview for the file, before it tries the icon. QuickLook requires Mac OS X 10.5. Size specifies the icon size from 16 to 512 pixel. The container value returned includes PNG data with alpha, JPEG preview, filename and size.
Version 4.3 adds support for Windows. We now query same thumbnail as explorer uses.
See also Icon.GetIcon.
Queries preview on iPhoto app:
Feedback: Report problem or ask question.