Platforms to show: All Mac Windows Linux Cross-Platform
Files
Functions and classes for handling files and volumes.
- QuickLook1.jpg
- QuickLook2.jpg
- AdminToolsMBS(domain as Integer) as folderitem
- ConsoleExecuteMBS(path as folderitem, arguments() as string, environment() as string) as Integer
- ConsoleExecuteMBS(path as string, arguments() as string, environment() as string) as Integer
- CookiesMBS as folderitem
- ExchangeFilesMBS(first as folderitem, second as folderitem) as Integer
- FolderItemToPathMBS(file as folderitem) as string
- GetDriveTypeMBS(path as string) as Integer
- HistoryMBS as folderitem
- InternetCacheMBS as folderitem
- MountMBS(URL as String, Dest as string = "", Username as String, Password as String, Interactive as boolean = false, Prompt as boolean = false, byref ErrorCode as Integer, Threaded as boolean = false) as String
- MountPathMBS(Path as String) as String
- MountPathMBS(Volume as FolderItem) as String
- NewFolderItemMBS(vRefNum as Integer, parID as Integer, name as String) as FolderItem
- NewVolumeFolderItemMBS(vRefNum as Integer) as FolderItem
- PathToFolderItemMBS(path as string) as folderitem
- SetCurrentWorkingDirectoryMBS(path as folderitem) as boolean
- UnmountMBS(Path as String, force as boolean = false) as Boolean
- UnmountMBS(Volume as FolderItem, force as boolean = false) as Boolean
- VolResolveIDMBS(volume as FolderItem, id as Integer) as FolderItem
- VolResolveIDMBS(vRefNum as Integer, id as Integer) as FolderItem
- WindowsEjectVolumeMBS(driveLetter as string, byref status as Integer) as boolean
- WindowsStartMenuMBS(domain as Integer) as folderitem
- class ACLEntryMBS
- method Constructor
- method Copy(dest as ACLEntryMBS)
- shared method GIDtoUUID(GID as Integer) as memoryblock
- shared method GroupFromGID(GID as Integer) as string
- method MaximalPermsetMask as UInt64
- shared method UIDtoUUID(UID as Integer) as memoryblock
- shared method UserFromUID(UID as Integer) as string
- shared method UUIDtoID(UUID as memoryblock, byref ID as Integer, byref Type as Integer) as boolean
- property Handle as Integer
- property Lasterror as Integer
- property Parent as Variant
- property FlagSet as ACLFlagSetMBS
- property PermSet as ACLPermSetMBS
- property PermSetMask as UInt64
- property Qualifier as Memoryblock
- property TagType as Integer
- const kACLExtendedAllow = 1
- const kACLExtendedDeny = 2
- const kACLUndefinedTag = 0
- class ACLFlagSetMBS
- method Add(flag as Integer)
- method Clear
- method Constructor
- method Delete(flag as Integer)
- method HasFlag(flag as Integer) as Boolean
- property Handle as Integer
- property Lasterror as Integer
- property Parent as Variant
- const kACLEntryDirectoryInherit = 64
- const kACLEntryFileInherit = 32
- const kACLEntryInherited = 16
- const kACLEntryLimitInherit = 128
- const kACLEntryOnlyInherit = 256
- const kACLFlagDeferInherit = 1
- const kACLFlagNoInherit = 131072
- class ACLPermSetMBS
- method Add(perm as Integer)
- method Clear
- method Constructor
- method Delete(perm as Integer)
- method HasPerm(perm as Integer) as Boolean
- property Handle as Integer
- property Lasterror as Integer
- property Parent as Variant
- const kACLAddFile = 4
- const kACLAddSubDirectory = 32
- const kACLAppendData = 32
- const kACLChangeOwner = 8192
- const kACLDelete = 16
- const kACLDeleteChild = 64
- const kACLExecute = 8
- const kACLListDirectory = 2
- const kACLMaxEntries = 128
- const kACLReadAttributes = 128
- const kACLReadData = 2
- const kACLReadExtraAttributes = 512
- const kACLReadSecurity = 2048
- const kACLSearch = 8
- const kACLWriteAttributes = 256
- const kACLWriteData = 4
- const kACLWriteExtraAttributes = 1024
- const kACLWriteSecurity = 4096
- class ACLRightMBS
- method Constructor(count as Integer)
- method Constructor(text as string)
- method CopyData(Native as boolean = false) as String
- method CreateEntry as ACLEntryMBS
- method CreateEntry(entryIndex as Integer, tag_type as Integer = 1) as ACLEntryMBS
- method DeleteEntry(entry as ACLEntryMBS)
- method Duplicate as ACLRightMBS
- method Entries as ACLEntryMBS()
- method Entry(entryIndex as Integer) as ACLEntryMBS
- shared method NewACL(count as Integer) as ACLRightMBS
- shared method NewACLFromExternal(data as string, native as boolean = false) as ACLRightMBS
- shared method NewACLFromFile(file as folderitem, type as Integer) as ACLRightMBS
- shared method NewACLFromFile(path as string, type as Integer) as ACLRightMBS
- shared method NewACLFromFilePointer(FilePointer as Integer) as ACLRightMBS
- shared method NewACLFromFilePointer(FilePointer as Integer, type as Integer) as ACLRightMBS
- shared method NewACLFromLink(path as string, type as Integer) as ACLRightMBS
- shared method NewACLFromText(text as string) as ACLRightMBS
- method SetFile(Path as string, type as Integer) as boolean
- method SetFilePointer(FilePointer as Integer) as boolean
- method SetFilePointer(FilePointer as Integer, type as Integer) as boolean
- method SetLink(Path as string, type as Integer) as boolean
- method Size as Int64
- method Text as String
- method Valid as boolean
- method ValidFile(Path as string, type as Integer) as boolean
- method ValidFilePointer(FilePointer as Integer, type as Integer) as boolean
- property Handle as Integer
- property Lasterror as Integer
- property FlagSet as ACLFlagSetMBS
- const kACLFirstEntry = 0
- const kACLLastEntry = -2
- const kACLNextEntry = -1
- const kACLTypeAccess = 0
- const kACLTypeAFS = 2
- const kACLTypeCODA = 3
- const kACLTypeDefault = 1
- const kACLTypeExtended = 256
- const kACLTypeNTFS = 4
- const kACLTypeNWFS = 5
- class DADiskMBS
- method BSDName as string
- method Constructor
- shared method CreateFromBSDName(session as DASessionMBS, name as string) as DADiskMBS
- shared method CreateFromVolume(session as DASessionMBS, volume as folderitem) as DADiskMBS
- shared method CreateFromVolumePath(session as DASessionMBS, path as string) as DADiskMBS
- method Description as dictionary
- shared method kDADiskDescriptionBusNameKey as string
- shared method kDADiskDescriptionBusPathKey as string
- shared method kDADiskDescriptionDeviceGUIDKey as string
- shared method kDADiskDescriptionDeviceInternalKey as string
- shared method kDADiskDescriptionDeviceModelKey as string
- shared method kDADiskDescriptionDevicePathKey as string
- shared method kDADiskDescriptionDeviceProtocolKey as string
- shared method kDADiskDescriptionDeviceRevisionKey as string
- shared method kDADiskDescriptionDeviceUnitKey as string
- shared method kDADiskDescriptionDeviceVendorKey as string
- shared method kDADiskDescriptionMediaBlockSizeKey as string
- shared method kDADiskDescriptionMediaBSDMajorKey as string
- shared method kDADiskDescriptionMediaBSDMinorKey as string
- shared method kDADiskDescriptionMediaBSDNameKey as string
- shared method kDADiskDescriptionMediaBSDUnitKey as string
- shared method kDADiskDescriptionMediaContentKey as string
- shared method kDADiskDescriptionMediaEjectableKey as string
- shared method kDADiskDescriptionMediaIconKey as string
- shared method kDADiskDescriptionMediaKindKey as string
- shared method kDADiskDescriptionMediaLeafKey as string
- shared method kDADiskDescriptionMediaNameKey as string
- shared method kDADiskDescriptionMediaPathKey as string
- shared method kDADiskDescriptionMediaRemovableKey as string
- shared method kDADiskDescriptionMediaSizeKey as string
- shared method kDADiskDescriptionMediaTypeKey as string
- shared method kDADiskDescriptionMediaUUIDKey as string
- shared method kDADiskDescriptionMediaWholeKey as string
- shared method kDADiskDescriptionMediaWritableKey as string
- shared method kDADiskDescriptionVolumeKindKey as string
- shared method kDADiskDescriptionVolumeMountableKey as string
- shared method kDADiskDescriptionVolumeNameKey as string
- shared method kDADiskDescriptionVolumeNetworkKey as string
- shared method kDADiskDescriptionVolumePathKey as string
- shared method kDADiskDescriptionVolumeUUIDKey as string
- method Options as Integer
- method SetOptions(options as Integer, value as boolean) as Integer
- method WholeDisk as DADiskMBS
- property Handle as Integer
- class DADissenterMBS
- method Constructor(status as Integer, s as string)
- property Handle as Integer
- property Status as Integer
- property StatusString as String
- const kDAReturnBadArgument = &hF8DA0003
- const kDAReturnBusy = &hF8DA0002
- const kDAReturnError = &hF8DA0001
- const kDAReturnExclusiveAccess = &hF8DA0004
- const kDAReturnNoResources = &hF8DA0005
- const kDAReturnNotFound = &hF8DA0006
- const kDAReturnNotMounted = &hF8DA0007
- const kDAReturnNotPermitted = &hF8DA0008
- const kDAReturnNotPrivileged = &hF8DA0009
- const kDAReturnNotReady = &hF8DA000A
- const kDAReturnNotWritable = &hF8DA000B
- const kDAReturnSuccess = 0
- const kDAReturnUnsupported = &hF8DA000C
- class DarwinChmodMBS
- method chflags(path as string, flags as Integer) as Integer
- method chmod(path as string, mode as Integer) as Integer
- method chown(path as string, uid as Integer, gid as Integer) as Integer
- method error as Integer
- method lstat(path as string) as Integer
- method stat(path as string) as Integer
- property blocks as Double
- property blocksize as Integer
- property dev as Integer
- property flags as Integer
- property gen as Integer
- property gid as Integer
- property ino as Integer
- property mode as Integer
- property nlink as Integer
- property rdev as Integer
- property size as Double
- property uid as Integer
- class DarwinIFStatInterfaceMBS
- property Baudrate as UInt32
- property Collisions as UInt64
- property InputBytes as UInt64
- property InputErrors as UInt64
- property InputMulticasts as UInt64
- property InputPackets as UInt64
- property MTU as UInt32
- property Name as String
- property OutputBytes as UInt64
- property OutputErrors as UInt64
- property OutputMulticasts as UInt64
- property OutputPackets as UInt64
- property PhysicalType as Integer
- property Type as Integer
- class DarwinIFStatMBS
- method Item(index as Integer) as DarwinIFStatInterfaceMBS
- method Update as boolean
- property Count as Integer
- class DASessionMBS
- method Constructor
- method Eject(disk as DADiskMBS, options as Integer = 0)
- method IsClaimed(disk as DADiskMBS) as boolean
- method Mount(disk as DADiskMBS, path as string, options as Integer = 0)
- method MountWithArguments(disk as DADiskMBS, path as string, arguments() as string, options as Integer = 0)
- method Rename(disk as DADiskMBS, name as string, options as Integer = 0)
- method Unclaim(disk as DADiskMBS)
- method Unmount(disk as DADiskMBS, options as Integer = 0)
- property Handle as Integer
- event Appeared(disk as DADiskMBS)
- event DescriptionChanged(disk as DADiskMBS, keys() as string)
- event Disappeared(disk as DADiskMBS)
- event Ejected(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Mounted(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Peek(disk as DADiskMBS)
- event Renamed(disk as DADiskMBS, dissenter as DADissenterMBS)
- event Unmounted(disk as DADiskMBS, dissenter as DADissenterMBS)
- const kDADiskClaimOptionDefault = 0
- const kDADiskEjectOptionDefault = 0
- const kDADiskMountOptionDefault = 0
- const kDADiskMountOptionWhole = 1
- const kDADiskOptionDefault = 0
- const kDADiskOptionEjectUponLogout = 1
- const kDADiskOptionMountAutomatic = 16
- const kDADiskOptionMountAutomaticNoDefer = 32
- const kDADiskOptionPrivate = 256
- const kDADiskRenameOptionDefault = 0
- const kDADiskUnmountOptionDefault = 0
- const kDADiskUnmountOptionForce = &h00080000
- const kDADiskUnmountOptionWhole = 0
- class DirectorySizeMBS
- method Add(d as DirectorySizeMBS)
- method close
- method Constructor
- method Update(folder as folderitem, recursive as boolean, ticks as Integer) as boolean
- property Cancel as Boolean
- property CompressedSize as UInt64
- property CountBundlesAsItem as Boolean
- property Directory as Folderitem
- property FilesCount as UInt64
- property FolderCount as UInt64
- property HiddenCompressedSize as UInt64
- property HiddenFilesCount as Integer
- property HiddenFolderCount as Integer
- property HiddenItemCount as UInt64
- property HiddenLogicalDataForkSize as UInt64
- property HiddenLogicalResourceForkSize as UInt64
- property HiddenLogicalTotalSize as UInt64
- property HiddenPhysicalDataForkSize as UInt64
- property HiddenPhysicalResourceForkSize as UInt64
- property HiddenPhysicalTotalSize as UInt64
- property IgnoreHiddenFolderContent as Boolean
- property ItemCount as UInt64
- property LogicalDataForkSize as UInt64
- property LogicalResourceForkSize as UInt64
- property LogicalTotalSize as UInt64
- property PhysicalDataForkSize as UInt64
- property PhysicalResourceForkSize as UInt64
- property PhysicalTotalSize as UInt64
- property QueryCompressedSizes as Boolean
- property RecursionLimit as Integer
- property RecursionMaxLevel as Integer
- property VisibleCompressedSize as UInt64
- property VisibleFilesCount as Integer
- property VisibleFolderCount as Integer
- property VisibleItemCount as UInt64
- property VisibleLogicalDataForkSize as UInt64
- property VisibleLogicalResourceForkSize as UInt64
- property VisibleLogicalTotalSize as UInt64
- property VisiblePhysicalDataForkSize as UInt64
- property VisiblePhysicalResourceForkSize as UInt64
- property VisiblePhysicalTotalSize as UInt64
- property YieldTicks as Integer
- class FileListMBS
- method AttributeModificationDate(index as Integer) as Double
- method AttributeModificationDate(index as Integer, UTC as boolean) as Date
- method BackupDate(index as Integer) as Double
- method BackupDate(index as Integer, UTC as boolean) as Date
- method CFURL(index as integer) as Variant
- method Close
- method Constructor
- method Constructor(filelist as FileListMBS, index as Integer, WinFilter as string = "")
- method Constructor(folder as folderitem, WinFilter as string = "")
- method Constructor(Path as String, WinFilter as string = "")
- method CreationDate(index as Integer) as Double
- method CreationDate(index as Integer, UTC as boolean) as Date
- method Creator(index as Integer) as string
- method Directory(index as Integer) as boolean
- method DisplayName(index as Integer) as string
- method FinderFlags(index as Integer) as Integer
- method FSRef(index as Integer) as memoryblock
- method HFSUniStr255(index as Integer) as memoryblock
- method IsBundle(index as Integer) as Boolean
- method IsHardLinked(index as Integer) as boolean
- method Item(index as Integer) as folderitem
- method ItemPath(index as Integer) as string
- method LastAccessDate(index as Integer) as Double
- method LastAccessDate(index as Integer, UTC as boolean) as Date
- method LogicalDataLength(index as Integer) as Int64
- method LogicalResourceLength(index as Integer) as Int64
- method ModificationDate(index as Integer) as Double
- method ModificationDate(index as Integer, UTC as boolean) as Date
- method Name(index as Integer) as string
- method NodeID(index as Integer) as Int64
- method ParentDirectoryID(index as Integer) as Int64
- method PhysicalDataLength(index as Integer) as Int64
- method PhysicalResourceLength(index as Integer) as Int64
- method SortByCreationDate
- method SortByFileName
- method SortByModificationDate
- method TrueItem(index as Integer) as folderitem
- method Type(index as Integer) as string
- method Visible(index as Integer) as boolean
- method WinFileAttributes(index as Integer) as Integer
- property Count as Integer
- property Folder as Folderitem
- property OK as Boolean
- property Path as String
- property TotalLogicalDataLength as Int64
- property TotalLogicalResourceLength as Int64
- property TotalPhysicalDataLength as Int64
- property TotalPhysicalResourceLength as Int64
- class FinderSelectionMBS
- method CountItems as Integer
- method GetSelection
- method Item(index as Integer) as folderitem
- property LastError as Integer
- class Folderitem
- method AddedToDirectoryDateMBS as date
- method AliasInfoMBS as AliasInfoMBS
- method BackupIsItemExcludedMBS(byref excludeByPath as boolean) as boolean
- method BackupSetItemExcludedMBS(exclude as boolean, excludeByPath as boolean) as Integer
- method CalculateDirectorySizeMBS(recursive as boolean = false, ticks as Integer = 0, QueryCompressedSizes as boolean = false, RecursionLimit as Integer = -1) as DirectorySizeMBS
- method CompressedFileLengthMBS as int64
- method CountMBS as Integer
- method CreateLargeBinaryStreamMBS(MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- method CreateResStreamMBS(MacType as string, MacCreator as string) as ResStreamMBS
- method CreatorAppMBS as FolderItem
- method CreatorAppMBS(creatorCode as String) as FolderItem
- method DarwinMediaClassMBS as string
- method DarwinMediaInfoMBS as CFDictionaryMBS
- method DarwinVolumeNameMBS as string
- method DeleteDataForkMBS
- method DeleteResourceForkMBS
- method DisplayPathMBS(delimiter as string = "/") as string
- method EjectVolumeMBS(force as boolean, byref dissenterPID as Integer) as Integer
- method FilesMBS as Folderitem()
- method FinderUpdateMBS as Integer
- method FlushVolumeMBS as Integer
- method FoldersMBS as Folderitem()
- method FontActivateMBS(OnlyLocal as boolean) as Integer
- method FontDeactivateMBS(OnlyLocal as boolean) as Integer
- method GetFileFlagsMBS as Integer
- method GetFolderFlagsMBS as Integer
- method GetVolumeRefMBS as Integer
- method HasUnresolvedConflictsMBS as boolean
- method IconImageMBS(width as Integer, WindowsFlags as Integer=0) as picture
- method IconMaskMBS(width as Integer, WindowsFlags as Integer=0) as picture
- method IconMBS(width as Integer, WindowsFlags as Integer=0) as picture
- method isApplicationMBS as boolean
- method isBundleMBS as boolean
- method IsCompressedFileMBS as Boolean
- method IsDownloadedMBS as boolean
- method IsDownloadingMBS as boolean
- method IsEjectableVolumeMBS as Boolean
- method IsEncryptedFileMBS as Boolean
- method IsFileDataForkOpenReadWriteMBS as boolean
- method IsFileResourceForkOpenReadWriteMBS as boolean
- method IsOnRemoteVolumeMBS as Boolean
- method IsUbiquitousItemMBS as boolean
- method IsUploadedMBS as boolean
- method IsUploadingMBS as boolean
- method ItemsMBS as Folderitem()
- method KindMBS as string
- method LaunchMBS(inFront as Boolean) as Boolean
- method LaunchServicesApplicationForItemMBS(role as Integer) as folderitem
- method LaunchServicesApplicationsForItemMBS(role as Integer) as LaunchServicesApplicationListMBS
- method LaunchServicesCanApplicationAcceptItemMBS(TargetApp as folderitem, role as Integer, flags as Integer) as boolean
- method LaunchServicesDisplayNameMBS as string
- method LaunchServicesItemInfoMBS(WhichInfo as Integer) as LaunchServicesItemInfoMBS
- method LaunchServicesKindStringMBS as string
- method LaunchServicesOpenMBS as folderitem
- method LaunchServicesRegisterMBS(update as boolean) as Integer
- method LogicalFileDataLengthMBS as int64
- method LogicalFileResLengthMBS as int64
- method LogicalFileTotalLengthMBS as int64
- method LongPathMBS as string
- method MacCopyObjectMBS(DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MacIsHardLinkedMBS as boolean
- method MacMoveObjectMBS(DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MacMoveObjectToTrashMBS(byref Result as folderitem, Options as Integer) as Integer
- method MacNodeIDMBS as UInt64
- method MacParentDirectoryIDMBS as UInt64
- method MacResolveNodeIDMBS(NodeID as UInt64) as folderitem
- method NameExtensionMBS as string
- method NameWithoutExtensionMBS as string
- method NewCGPDFDocumentMBS(MediaBox as CGRectMBS, title as string, author as string, creator as string) as CGPDFContextMBS
- method NewCGPDFDocumentMBS(MediaBox as CGRectMBS, title as string, author as string, creator as string, subject as string, keywords as string, OwnerPassword as string, UserPassword as string, AllowsPrinting as boolean, AllowsCopy as boolean) as CGPDFContextMBS
- method NewCGPDFDocumentMBS(MediaBox as CGRectMBS, title as string, author as string, creator as string, subject as string, keywords as string, OwnerPassword as string, UserPassword as string, AllowsPrinting as boolean, AllowsCopy as boolean, KeyLength as Integer) as CGPDFContextMBS
- method NewCGPDFDocumentWithInfoMBS(MediaBox as CGRectMBS, info as object) as CGPDFContextMBS
- method OpenAsCGPDFDocumentMBS as CGPDFDocumentMBS
- method OpenAsGIFMBS as GIFMBS
- method OpenAsJPEGMBS as picture
- method OpenAsJPEGMBS(allowdamaged as Boolean) as picture
- method OpenAsJPEGMBS(allowdamaged as Boolean,fileposition as Integer) as picture
- method OpenAsLargeBinaryStreamMBS(write as Boolean) as LargeBinaryStreamMBS
- method OpenAsPNGMBS(gamma as single = 0.0, AllowDamaged as Boolean = false) as PNGPictureMBS
- method OpenAsResStreamMBS(write as Boolean) as ResStreamMBS
- method OpenAsTiffMBS(HeaderOnly as boolean=false) as TiffPictureMBS
- method OpenWithAppMBS(TheApplication as FolderItem, inFront as Boolean) as Boolean
- method ParentVolumeMBS as folderitem
- method PercentDownloadedMBS as Double
- method PercentUploadedMBS as Double
- method PermissionsMBS(OldWay as boolean) as PermissionsMBS
- method PhysicalFileDataLengthMBS as int64
- method PhysicalFileResLengthMBS as int64
- method PhysicalFileTotalLengthMBS as int64
- method QuickLookMBS(MaxWidth as Integer = 500, MaxHeight as Integer = 500, IconMode as Boolean = false, ScaleFactor as Double = 1.0) as picture
- method QuickLookMTMBS(MaxWidth as Integer = 500, MaxHeight as Integer = 500, IconMode as Boolean = false, ScaleFactor as Double = 1.0) as picture
- method ReadFileMBS(byref data as string) as boolean
- method SaveAs8BitAlphaPNGMBS(pic as picture, colors() as color, alphas() as Integer, gamma as single = 0.0) as boolean
- method SaveAs8BitAlphaPNGMBS(pic as picture, colors() as color, alphas() as Integer, gamma as single, Interlace as Boolean, FilterType as Integer) as boolean
- method SaveAs8BitPNGMBS(pic as picture, colors() as color, gamma as single = 0.0) as boolean
- method SaveAs8BitPNGMBS(pic as picture, colors() as color, gamma as single, Interlace as Boolean, FilterType as Integer) as boolean
- method SaveAsGIFMBS(data as GIFMBS) as boolean
- method SaveAsJPEGMBS(pic as picture, quality as Integer = 80) as boolean
- method SaveAsPNGMBS(pic as picture, gamma as single = 0.0) as boolean
- method SaveAsPNGMBS(pic as picture, gamma as single, Interlace as Boolean, FilterType as Integer) as boolean
- method SaveAsPNGMBS(pic as picture, mask as picture, gamma as single = 0.0) as boolean
- method SaveAsPNGMBS(pic as picture, mask as picture, gamma as single, Interlace as Boolean, FilterType as Integer) as boolean
- method SetDesktopPictureMBS as Integer
- method SetFileFlagsMBS(flags as Integer) as Integer
- method SetFolderFlagsMBS(flags as Integer) as Integer
- method SetTagNamesMBS(tags() as string) as Integer
- method SetTagNamesMBS(tags() as string, byref e as CFErrorMBS) as Integer
- method ShortPathMBS as string
- method SpotLightFileInfoMBS(uti as string = "") as dictionary
- method SpotLightLoadMDImporterMBS as boolean
- method SpotLightTextContentMBS(uti as string = "") as string
- method TagNamesMBS as string()
- method TagNamesMBS(byref e as CFErrorMBS) as string()
- method TrueFilesMBS as Folderitem()
- method TrueFoldersMBS as Folderitem()
- method TrueItemsMBS as Folderitem()
- method UnixpathMBS as string
- method UnMountVolumeMBS(force as boolean = false) as Integer
- method UnMountVolumeMBS(force as boolean, byref dissenterPID as Integer) as Integer
- method VolGetFolderItemIDMBS(createFileIDs as Boolean = true) as Integer
- method VolSupportsCatSearchMBS as Boolean
- method VolumeFreeSizeKBMBS as Int64
- method VolumeFreeSizeMBS as Int64
- method VolumeInformationMBS as VolumeInformationMBS
- method VolumeSizeKBMBS as Int64
- method VolumeSizeMBS as Int64
- method VolumeSupportsHugeFilesMBS as Integer
- method VolumeUUIDMBS as string
- method WinThumbnailMBS(preferredSize as Integer = 512) as picture
- method WriteFileMBS(data as MemoryBlock) as boolean
- method WriteFileMBS(data as string) as boolean
- property AccessDateMBS(UTC as boolean = false) as date
- property AttributeModificationDateMBS(UTC as boolean = false) as date
- property BackupDateMBS(UTC as boolean = false) as date
- property BackupItemExcludedMBS as boolean
- property CommentMBS as string
- property CreationDateMBS(UTC as boolean = false) as date
- property FinderLabelMBS as Integer
- property MacQuarantinePropertiesMBS as MacQuarantinePropertiesMBS
- property ModificationDateMBS(UTC as boolean = false) as date
- class LargeBinaryStreamMBS
- method Allocate(count as int64, flags as Integer) as int64
- method close
- shared method Create(file as folderitem, MacType as string, MacCreator as string) as LargeBinaryStreamMBS
- shared method Create(path as string, MacType as string, MacCreator as string, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method CreateResStream(file as folderitem, MacType as string, MacCreator as string) as ResStreamMBS
- shared method CreateResStream(path as string, MacType as string, MacCreator as string) as ResStreamMBS
- shared method DeleteDataFork(file as folderitem)
- shared method DeleteResourceFork(file as folderitem)
- method Flush
- method LockFileExclusive as boolean
- shared method Open(file as folderitem, write as Boolean) as LargeBinaryStreamMBS
- shared method Open(path as string, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method OpenAsResStream(file as folderitem, write as Boolean) as ResStreamMBS
- shared method OpenAsResStream(path as string, write as Boolean) as ResStreamMBS
- method QueryDiskGeometry(byref Cylinders as Int64, byref MediaType as Integer, byref TracksPerCylinder as Integer, byref SectorsPerTrack as Integer, byref BytesPerSector as Integer) as boolean
- method Read(count as Integer) as string
- method ReadBlock(count as Integer) as memoryblock
- method Readbyte as Integer
- method ReadLong as Integer
- method ReadShort as Integer
- method UnlockFileExclusive as boolean
- shared method WinCreateStream(file as folderitem, StreamName as String, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- shared method WinDeleteStream(file as folderitem, StreamName as String) as boolean
- shared method WinOpenStream(file as folderitem, StreamName as String, write as Boolean, WinShareMode as Integer = 0) as LargeBinaryStreamMBS
- method Write(data as string)
- method WriteBlock(data as memoryblock,count as Integer)
- method WriteByte(data as Integer)
- method WriteLong(data as Integer)
- method WriteShort(data as Integer)
- property CanWrite as boolean
- property EOF as boolean
- property Lasterror as Integer
- property Length as Int64
- property LittleEndian as boolean
- property Position as Int64
- property Yield as Boolean
- class MacFileOperationMBS
- method Cancel
- method CopyObject(Item as folderitem, DestinationFolder as folderitem, DestinationName as string, Options as Integer, statusChangeInterval as Double)
- shared method CopyObjectSync(SourceItem as folderitem, DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MoveObject(Item as folderitem, DestinationFolder as folderitem, DestinationName as string, Options as Integer, statusChangeInterval as Double)
- shared method MoveObjectSync(SourceItem as folderitem, DestinationFolder as folderitem, DestinationName as string, byref Result as folderitem, Options as Integer) as Integer
- method MoveObjectToTrash(Item as folderitem, Options as Integer, statusChangeInterval as Double)
- shared method MoveObjectToTrashSync(SourceItem as folderitem, byref Result as folderitem, Options as Integer) as Integer
- method Status as MacFileOperationStatusMBS
- property Handle as Integer
- property LastError as Integer
- event StatusChanged(status as MacFileOperationStatusMBS)
- const kFSFileOperationDefaultOptions=0
- const kFSFileOperationDoNotMoveAcrossVolumes=4
- const kFSFileOperationOverwrite=1
- const kFSFileOperationSkipPreflight=8
- const kFSFileOperationSkipSourcePermissionErrors=2
- const kFSOperationStageComplete=3
- const kFSOperationStagePreflighting=1
- const kFSOperationStageRunning=2
- const kFSOperationStageUndefined=0
- class MacFileOperationStatusMBS
- property BytesComplete as Int64
- property BytesRemaining as Int64
- property CurrentItem as FolderItem
- property Error as Integer
- property Handle as Integer
- property ObjectsComplete as Int64
- property ObjectsRemaining as Int64
- property Stage as Integer
- property Throughput as Int64
- property TotalBytes as Int64
- property TotalObjects as Int64
- property TotalUserVisibleObjects as Int64
- property UserVisibleObjectsComplete as Int64
- property UserVisibleObjectsRemaining as Int64
- class MacQuarantinePropertiesMBS
- property AgentBundleIdentifier as String
- property AgentName as String
- property DataURL as String
- property Dic as Variant
- property OriginURL as String
- property TimeStamp as Date
- property Type as String
- const kTypeCalendarEventAttachment = "LSQuarantineTypeCalendarEventAttachment"
- const kTypeEmailAttachment = "LSQuarantineTypeEmailAttachment"
- const kTypeInstantMessageAttachment = "LSQuarantineTypeInstantMessageAttachment"
- const kTypeOtherAttachment = "LSQuarantineTypeOtherAttachment"
- const kTypeOtherDownload = "LSQuarantineTypeOtherDownload"
- const kTypeWebDownload = "LSQuarantineTypeWebDownload"
- class NetFSMountMBS
- method Cancel
- method MountURLAsync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil) as Integer
- method MountURLSync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil, byref MountPoints() as String) as Integer
- shared method URLForRemountingVolume(path as String) as String
- shared method URLForRemountingVolume(vol as FolderItem) as String
- shared method URLProbe(hostname as String) as String
- property Handle as Integer
- property Lasterror as Integer
- event MountURLAsyncCompleted(status as Integer, URL as String, mountpoints() as String)
- const kErrorAccountRestricted = -5999
- const kErrorMissingMountpoint = 2
- const kErrorNoAuthMethodSupported = -5997
- const kErrorNoProtocolVersionSupported = -5996
- const kErrorNoSharesAvailable = -5998
- const kErrorPasswordNeedsChange = -5045
- const kErrorPasswordPolicy = -5046
- const kErrorUserCanceled = -128
- const kMountFlagsReadOnly = 1
- const kNAUIOptionAllowUI = "AllowUI"
- const kNAUIOptionForceUI = "ForceUI"
- const kNAUIOptionKey = "UIOption"
- const kNAUIOptionNoUI = "NoUI"
- const kNetAuthErrorAlreadyClosed = -6005
- const kNetAuthErrorGuestNotSupported = -6004
- const kNetAuthErrorInternal = -6600
- const kNetAuthErrorMountFailed = -6602
- const kNetAuthErrorNoSharesAvailable = -6003
- const kNetFSAllowLoopbackKey = "AllowLoopback"
- const kNetFSAllowSubMountsKey = "AllowSubMounts"
- const kNetFSMountAtMountDirKey = "MountAtMountDir"
- const kNetFSMountFlagsKey = "MountFlags"
- const kNetFSSoftMountKey = "SoftMount"
- const kNetFSUseGuestKey = "Guest"
- class PermissionsMBS
- method SetPermissions(OldWay as boolean) as Integer
- property Access as Integer
- property GroupID as Integer
- property Mode as Integer
- property UserID as Integer
- class ResourceForkMBS
- method AddResource(Data as Memoryblock, ResourceType as String, ID as Integer, Name as String)
- method AddResource(Data as String, ResourceType as String, ID as Integer, Name as String)
- method Close
- method Constructor
- shared method Create(file as folderitem, UseDataFork as boolean = false) as ResourceForkMBS
- method GetIndResource(ResourceType as String, index as Integer) As String
- method GetNamedResource(ResourceType as String, Name as String) As String
- method GetResource(ResourceType as String, ID as Integer) As String
- method GetResourceMemory(ResourceType as String, ID as Integer) As Memoryblock
- shared method Open(file as folderitem, Write as boolean, UseDataFork as boolean = false) as ResourceForkMBS
- method RemoveResource(ResourceType as String, ID as Integer)
- method ResourceCount(ResourceType as String) as Integer
- method ResourceID(ResourceType as String, index as Integer) as Integer
- method ResourceName(ResourceType as String, index as Integer) As String
- method ResourceSizeOnDisk(ResourceType as String, ID as Integer) as Integer
- method ResourceType(index as Integer) As String
- method UniqueID(ResourceType as String) as Integer
- property Handle as Integer
- property LastError as Integer
- property Modified as Boolean
- property TypeCount as Integer
- property Writable as Boolean
- property ResourceAttributes(ResourceType as String, ID as Integer) as Integer
- property ResourceLocked(ResourceType as String, ID as Integer) as boolean
- property ResourcePreload(ResourceType as String, ID as Integer) as boolean
- property ResourceProtected(ResourceType as String, ID as Integer) as boolean
- property ResourcePurgeable(ResourceType as String, ID as Integer) as boolean
- property ResourceSysHeap(ResourceType as String, ID as Integer) as boolean
- class ResStreamMBS
- class StdinMBS
- shared method AttachConsole(ProcessID as Integer = -1) as Integer
- shared method Flush
- shared method FreeConsole as Integer
- shared method GetCharacter as Integer
- shared method Read(count as Integer) as string
- shared method ReadDouble(byref value as Double) as Integer
- shared method ReadInteger(byref value as Integer) as Integer
- shared method ReadString(byref value as string) as Integer
- shared property Echo as Boolean
- shared property IsReady as boolean
- class StdoutMBS
- shared method AttachConsole(ProcessID as Integer = -1) as Integer
- shared method Flush
- shared method FreeConsole as Integer
- shared method Write(data as string)
- class VolumeInformationMBS
- method Constructor
- property Blocksize as Integer
- property DataForkClumpSize as Integer
- property DefaultVolume as boolean
- property DriveNumber as Integer
- property DriverRefNum as Integer
- property FileCount as Integer
- property FilesOpen as boolean
- property FileSystemID as Integer
- property FolderCount as Integer
- property freeBlocks as Int64
- property Freebytes as Int64
- property HardwareLocked as boolean
- property LimitedInformation as boolean
- property Name as String
- property NextAllocation as Integer
- property NextCatalogID as Integer
- property ResourceForkClumpSize as Integer
- property Root as Folderitem
- property RootFSRef as memoryblock
- property Signature as Integer
- property SoftwareLocked as boolean
- property Totalblocks as Int64
- property Totalbytes as Int64
- class WindowsDiskChangeMBS
- method Constructor
- property Valid as Boolean
- event DriveAdded(Path as string)
- event DriveRemoved(Path as string)
- event MediaInserted(Path as string)
- event MediaRemoved(Path as string)
- class WindowsDriveNotificationMBS
- event DeviceArrival(Path as string)
- event DeviceRemoved(Path as string)
- class WindowsVolumeInformationMBS
- method Constructor
- method Constructor(path as string)
- property CaseIsPreserved as boolean
- property CaseSensitive as boolean
- property FileSystemName as string
- property IsCompressedVolume as boolean
- property MaxNameLength as Integer
- property Name as string
- property Path as string
- property Serial as Integer
- property SupportsFileCompression as boolean
- property SupportsFileEncryption as boolean
- property SupportsUnicodeFilenames as boolean
- property Valid as boolean
- module ExtendedAttributesMBS
- 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
- const kAttributeNameFinderComment = "com.apple.metadata:kMDItemFinderComment"
- const kAttributeNameFinderInfo = "com.apple.FinderInfo"
- const kAttributeNameResourceFork = "com.apple.ResourceFork"
- const kCreate = 2
- const kNoDefault = 16
- const kNoFollow = 1
- const kNoSecurity = 8
- const kReplace = 4
- const kShowCompression = 32
- module WindowsJunctionMBS
- method CreateHardLink(NewFile as folderitem, TargetFile as folderitem) as boolean
- method CreateJunction(JunctionDir as folderitem, TargetDir as folderitem) as boolean
- method CreateSymbolicLink(NewFile as folderitem, TargetFile as folderitem) as boolean
- method CreateSymbolicLink(NewFile as folderitem, TargetFile as string, TargetIsDirectory as Boolean) as boolean
- method DeleteJunction(JunctionDir as folderitem) as boolean
- method GetJunctionTarget(JunctionDir as folderitem) as string
- method IsDirectoryJunction(JunctionDir as folderitem) as boolean
- method Lasterror as Integer
The items on this page are in the following plugins: MBS Images Plugin, MBS MacCF Plugin, MBS MacCG Plugin, MBS MacClassic Plugin, MBS MacCloud Plugin, MBS MacFrameworks Plugin, MBS MacOSX Plugin, MBS Picture Plugin, MBS Util Plugin, MBS Win Plugin.
Links
MBS Xojo Plugins