Platforms to show: All Mac Windows Linux Cross-Platform

Back to MacFileOperationStatusMBS class.

MacFileOperationStatusMBS.BytesComplete as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of bytes that have been moved/copied by this operation at the time the status call was made.

During the preflight stage this value represents the currently known number of bytes that will be copied/moved.
Value is -1 if undefined.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.BytesRemaining as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of bytes that remain to be moved/copied by this operation at the time the status call was made.

Value is -1 if undefined.
This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified.

Seems like newer MacOS versions like 10.13 don't update this value.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.CurrentItem as FolderItem

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A folderitem to item operation is currently processing.

If the operation is complete then currentItem refers to the target item (the new item corresponding to the source item in the destination directory).
(Read and Write property)

MacFileOperationStatusMBS.Dictionary as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 20.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
All details in the status object as a dictionary.

You get the internal CFDictionary converted to Xojo dictionary to inspect yourself.
(Read only property)

MacFileOperationStatusMBS.Error as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The error code.

Either noErr (0) or an error value which caused the operation to fail.
(Read and Write property)

MacFileOperationStatusMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 16.5 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Queries internal object reference.
Example
dim status as MacFileOperationStatusMBS // your status object
dim d as CFDictionaryMBS = CFDictionaryMBS.dictionaryWithHandle(status.Handle)
dim dd as Dictionary = d.Dictionary
Break

Value is a CFDictionaryRef reference.
(Read and Write property)

MacFileOperationStatusMBS.ObjectsComplete as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of objects that have been moved/copied by this operation at the time the status call was made.

Value is -1 if undefined.
During the preflight stage this value represents the currently known number of objects that will be copied/moved.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.ObjectsRemaining as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of objects that remain to be moved/copied by this operation at the time the status call was made

Value is -1 if undefined.

This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.Stage as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Current stage of the operation.

See this constants for possible values:
kFSOperationStageComplete
kFSOperationStagePreflighting
kFSOperationStageRunning
kFSOperationStageUndefined
(Read and Write property)

MacFileOperationStatusMBS.Throughput as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The current throughput for the operation in bytes per second.

Value is -1 if undefined.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.TotalBytes as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The total number of bytes that will be moved/copied by this operation.

This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified.
Value is -1 if undefined.
(Read only property)

MacFileOperationStatusMBS.TotalObjects as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The total number of objects that will be moved/copied by this operation.

Value is -1 if undefined.
This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.TotalUserVisibleObjects as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The total number of user visibleobjects that will be moved/copied by this operation.

Value is -1 if undefined.

This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified. A packaged application is one user visible object even though it is made up of multiple files and directories.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.UserVisibleObjectsComplete as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of user visible objects that have been moved/copied by this operation at the time the status call was made.

Value is -1 if undefined.

During the preflight stage this value represents the currently known number of objects that will be copied/moved. A packaged application is one user visible object even though it is made up of multiple files and directories.
(Read only property)

Some examples using this property:

MacFileOperationStatusMBS.UserVisibleObjectsRemaining as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacClassic Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The number of user visible objects that remain to be moved/copied by this operation at the time the status call was made

Value is -1 if undefined.

This value is not available for a directory operation if kFSFileOperationSkipPreflight was specified. A packaged application is one user visible object even though it is made up of multiple files and directories.
(Read only property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacClassic Plugin.


The biggest plugin in space...