Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Icon.ClearIcon
Clears the custom icon for the file or directory at the specified path.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| QuickLook Files | 2.7 | Yes | No | No | Yes, macOS only | No |
MBS( "Icon.ClearIcon"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The path to the file or folder. | "/Applications" |
Result
Returns OK on success.
Description
Clears the custom icon for the file or directory at the specified path.This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.
Examples
Clears icon of a file on the desktop:
MBS("Icon.ClearIcon"; "/Users/Christian/Desktop/test.pdf")
See also
Example Databases
Blog Entries
Created 18th August 2014, last changed 24th May 2017
IKSlideShow.SetWrapAround - Icon.GetIcon
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins