Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
Icon.GetIcon
Component: Icon
Version: 2.3
Mac OS X: Works
Windows: Does nothing
MBS( "Icon.GetIcon"; Path; Size )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| 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 |
Result
Container value.
Description
Queries the Finder icon for the file or folder with the given path.Size specifies the icon size from 16 to 512 pixel. The container value returned includes PNG data with alpha, JPEG preview, filename and size.
Examples
MBS( "Icon.GetIcon"; "/Applications/iPhoto.app"; 512 )
Feedback: Report problem or ask question.
Links
MBS Realbasic Plugins - Pfarrgemeinde Ministranten Nickenich