Platforms to show: All Mac Windows Linux Cross-Platform
The module ExtendedAttributesMBS
module ExtendedAttributesMBSType | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
module | Files | MBS MacOSX Plugin | 12.5 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Linux support added for plugin version 16.4.
For Windows, please use LargeBinaryStreamMBS class to read/write streams.
- method Available as boolean
- method GetAttribute(path as folderitem, name as string, options as Integer = 0) as Variant
- method GetAttribute(path as string, name as string, options as Integer = 0) as Variant
- method GetRawAttribute(path as folderitem, name as string, options as Integer = 0) as memoryblock
- method GetRawAttribute(path as string, name as string, options as Integer = 0) as memoryblock
- method LastError as Integer
- method LastErrorMessage as string
- method ListAttributes(path as folderitem, Options as Integer = 0) as string()
- method ListAttributes(path as string, Options as Integer = 0) as string()
- method RemoveAttribute(path as folderitem, name as string, options as Integer = 0) as boolean
- method RemoveAttribute(path as string, name as string, options as Integer = 0) as boolean
- method SetAttribute(path as folderitem, name as string, data as Variant, options as Integer = 0) as boolean
- method SetAttribute(path as string, name as string, data as Variant, options as Integer = 0) as boolean
- method SetRawAttribute(path as folderitem, name as string, data as memoryblock, options as Integer = 0) as boolean
- method SetRawAttribute(path as string, name as string, data as memoryblock, options as Integer = 0) as boolean
- 9 constants
Constants
Constant | Value | Description |
---|---|---|
kAttributeNameFinderComment | "com.apple.metadata:kMDItemFinderComment" | The attribute name for the Finder Comment. |
kAttributeNameFinderInfo | "com.apple.FinderInfo" | The attribute name for the Finder Info. |
kAttributeNameResourceFork | "com.apple.ResourceFork" | The attribute name for the resource fork. |
Flags
Constant | Value | Description |
---|---|---|
kCreate | 2 |
Fail if the named attribute already exists. |
kNoDefault | 16 | |
kNoFollow | 1 |
Do not follow symbolic links. ListAttributes normally lists attributes of the target of path if it is a symbolic link. With this option, ListAttributes will list attributes of the link itself. |
kNoSecurity | 8 | |
kReplace | 4 |
Fail if the named attribute does not exist. Failure to specify kReplace or kCreate allows creation and replacement. |
kShowCompression | 32 |
ListAttributes will list HFS Plus Compression extended attribute(s) (if present) for the file referred to by path. |
Blog Entries
- Passing an UUID to each app download
- Query URL from downloaded file
- MBS Releases the MBS Xojo / Real Studio plug-ins in version 16.4
- MBS Xojo / Real Studio Plugins, version 16.4pr5
- MBS Xojo / Real Studio Plugins, version 13.5pr6
- MonkeyBread Software Releases the MBS Real Studio plug-ins in version 12.5
- MBS Real Studio Plugins, version 12.5pr12
Xojo Developer Magazine
- 19.2, page 52: Application Instance, Adding an identifier to your app downloads by Christian Schmitz
- 11.1, page 9: News
Videos
The items on this page are in the following plugins: MBS MacOSX Plugin.