Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderItem class.
FolderItem.GetFileFlagsMBS as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS MacClassic Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the fdFlags of a file. If you pass in a non-existing file or a folder, a negative error code is returned instead.
The fdFlags is a set of bits with the following meaning:
bit 15 | value &H8000 | isAlias |
bit 14 | value &H4000 | isInvisible |
bit 13 | value &H2000 | hasBundle (has a BNDL resource) |
bit 12 | value &H1000 | nameLocked |
bit 11 | value &H0800 | isStationary |
bit 10 | value &H0400 | hasCustomIcon |
bit 8 | value &H0100 | hasBeenInited (Finder has seen the file since it has been created) |
bit 7 | value &H0080 | hasNoINITs (there is no INIT rsrc in the Extension file) |
bit 6 | value &H0040 | isShared |
bits 1-3 | value &H000E | color (as a 3-bit value from 0-7) |
Some examples using this method:
Blog Entries
The items on this page are in the following plugins: MBS MacClassic Plugin.