The plugin part NSWorkspace
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS MacCocoa Plugin:NSWorkspace:
Partly Console safe,
240 entry points.
- class NSFileManagerMBS
- method replaceItemAtURL(originalItemURL as string, newItemURL as String, backupItemName as String, options as integer, byref resultingURL as String, byref error as NSErrorMBS) as Boolean
- method replaceItem(originalItem as FolderItem, newItem as FolderItem, backupItemName as String, options as integer, byref resultingItem as FolderItem, byref error as NSErrorMBS) as Boolean
- method attributesOfFileSystemForPath(path as string, byref error as NSErrorMBS) as Dictionary
- method attributesOfFileSystemForPath(item as FolderItem, byref error as NSErrorMBS) as Dictionary
- method createFile(Path as FolderItem, contents as MemoryBlock, attrs as Dictionary = nil) as boolean
- method createFile(Path as String, contents as MemoryBlock, attrs as Dictionary = nil) as boolean
- method createDirectory(Path as FolderItem, createIntermediates as boolean = true, attrs as Dictionary = nil, byref error as NSErrorMBS) as boolean
- method createDirectory(Path as String, createIntermediates as boolean = true, attrs as Dictionary = nil, byref error as NSErrorMBS) as boolean
- method Constructor
- method homeDirectoryForUser(Name as string) as FolderItem
- method containerURLForSecurityApplicationGroupIdentifier(groupIdentifier as string) as string
- method containerFolderForSecurityApplicationGroupIdentifier(groupIdentifier as string) as FolderItem
- method copyItemMT(source as FolderItem, dest as FolderItem, byref error as NSErrorMBS) as boolean
- method copyItemMT(sourcePath as String, destPath as String, byref error as NSErrorMBS) as boolean
- method linkItem(source as FolderItem, dest as FolderItem, byref error as NSErrorMBS) as boolean
- method linkItem(sourcePath as String, destPath as String, byref error as NSErrorMBS) as boolean
- method moveItem(source as FolderItem, dest as FolderItem, byref error as NSErrorMBS) as boolean
- method moveItem(sourcePath as String, destPath as String, byref error as NSErrorMBS) as boolean
- method copyItem(source as FolderItem, dest as FolderItem, byref error as NSErrorMBS) as boolean
- method copyItem(sourcePath as String, destPath as String, byref error as NSErrorMBS) as boolean
- method trashItem(file as FolderItem, byref Resulting as FolderItem, byref error as NSErrorMBS) as boolean
- method trashItem(Path as String, byref Resulting as FolderItem, byref error as NSErrorMBS) as boolean
- method removeItem(File as FolderItem, byref error as NSErrorMBS) as boolean
- method removeItem(Path as String, byref error as NSErrorMBS) as boolean
- method attributesOfItemAtPath(path as string, byref error as NSErrorMBS) as Dictionary
- method attributesOfItemAtPath(item as FolderItem, byref error as NSErrorMBS) as Dictionary
- method setAttributes(attributesDic as dictionary, path as string, byref error as NSErrorMBS) as boolean
- method setAttributes(attributesDic as dictionary, item as FolderItem, byref error as NSErrorMBS) as boolean
- method setUbiquitous(flag as boolean, item as FolderItem, destURL as string, byref error as NSErrorMBS) as boolean
- method setUbiquitous(flag as boolean, item as FolderItem, destitem as FolderItem, byref error as NSErrorMBS) as boolean
- method URLForUbiquityContainerIdentifier(containerIdentifier as string) as string
- method FileForUbiquityContainerIdentifier(containerIdentifier as string) as FolderItem
- method URLForPublishingUbiquitousItem(item as FolderItem, byref expirationDate as date, byref error as NSErrorMBS) as string
- method URLForPublishingUbiquitousItem(URL as string, byref expirationDate as date, byref error as NSErrorMBS) as string
- method evictUbiquitousItem(item as FolderItem, byref error as NSErrorMBS) as boolean
- method startDownloadingUbiquitousItem(item as FolderItem, byref error as NSErrorMBS) as boolean
- method startDownloadingUbiquitousItem(URL as string, byref error as NSErrorMBS) as boolean
- method isUbiquitousItem(item as FolderItem) as boolean
- method isUbiquitousItem(URL as string) as boolean
- method createSymbolicLink(file as FolderItem, destFile as FolderItem, byref error as NSErrorMBS) as boolean
- method createSymbolicLink(path as string, destPath as string, byref error as NSErrorMBS) as boolean
- method displayName(path as FolderItem) as string
- method contentsEqual(path1 as FolderItem, path2 as FolderItem) as boolean
- method isDeletableFile(path as FolderItem) as boolean
- method isExecutableFile(path as FolderItem) as boolean
- method isWritableFile(path as FolderItem) as boolean
- method isReadableFile(path as FolderItem) as boolean
- method fileExists(path as FolderItem) as boolean
- method fileExists(path as FolderItem, byref isDirectory as boolean) as boolean
- method changeCurrentDirectory(folder as FolderItem) as boolean
- method changeCurrentDirectory(path as string) as boolean
- method destinationOfSymbolicLinkAtPath(file as FolderItem, byref error as NSErrorMBS) as string
- method destinationOfSymbolicLinkAtPath(path as string, byref error as NSErrorMBS) as string
- property Handle as Integer
- property currentDirectoryPath as String
- property currentDirectory as FolderItem
- property homeDirectoryForCurrentUser as FolderItem
- property temporaryDirectory as FolderItem
- shared method fileManagerWithAuthorization(authorization as NSWorkspaceAuthorizationMBS) as NSFileManagerMBS
- shared method URLByAppendingPathExtension(URL as string, pathExtension as string) as string
- shared method URLByStandardizingPath(URL as string) as string
- shared method URLByResolvingSymlinksInPath(URL as string) as string
- shared method URLByDeletingPathExtension(URL as string) as string
- shared method URLByDeletingLastPathComponent(URL as string) as string
- shared method URLByAppendingPathComponent(URL as string, pathComponent as string) as string
- shared method URLByAppendingPathComponent(URL as string, pathComponent as string, isDirectory as boolean) as string
- shared method stringByAbbreviatingWithTildeInPath(path as string) as string
- shared method stringByExpandingTildeInPath(path as string) as string
- shared method stringByStandardizingPath(path as string) as string
- shared method stringByResolvingSymlinksInPath(path as string) as string
- shared method lastPathComponent(pathOrURL as string) as string
- shared method pathExtension(pathOrURL as string) as string
- shared method stringByDeletingLastPathComponent(path as string) as string
- shared method stringByDeletingPathExtension(path as string) as string
- shared method stringByAppendingPathComponent(path as string, Component as string) as string
- shared method stringByAppendingPathExtension(path as string, Extension as string) as string
- shared method NSFileType as string
- shared method NSFileTypeDirectory as string
- shared method NSFileTypeRegular as string
- shared method NSFileTypeSymbolicLink as string
- shared method NSFileTypeSocket as string
- shared method NSFileTypeCharacterSpecial as string
- shared method NSFileTypeBlockSpecial as string
- shared method NSFileTypeUnknown as string
- shared method NSFileSize as string
- shared method NSFileModificationDate as string
- shared method NSFileReferenceCount as string
- shared method NSFileDeviceIdentifier as string
- shared method NSFileOwnerAccountName as string
- shared method NSFileGroupOwnerAccountName as string
- shared method NSFilePosixPermissions as string
- shared method NSFileSystemNumber as string
- shared method NSFileSystemFileNumber as string
- shared method NSFileExtensionHidden as string
- shared method NSFileHFSCreatorCode as string
- shared method NSFileHFSTypeCode as string
- shared method NSFileImmutable as string
- shared method NSFileAppendOnly as string
- shared method NSFileCreationDate as string
- shared method NSFileOwnerAccountID as string
- shared method NSFileGroupOwnerAccountID as string
- shared method NSFileBusy as string
- shared method NSFileSystemSize as string
- shared method NSFileSystemFreeSize as string
- shared method NSFileSystemNodes as string
- shared method NSFileSystemFreeNodes as string
- shared method NSUbiquityIdentityDidChangeNotification as string
- shared method NSFileManagerUnmountDissentingProcessIdentifierErrorKey as string
- shared property defaultManager as NSFileManagerMBS
- class NSRunningApplicationMBS
- class NSWorkspaceAuthorizationMBS
- class NSWorkspaceMBS
- method requestAuthorization(type as integer, tag as variant = nil)
- shared method openURL(url as string, bundleIdentifier as string, options as integer = &h00030000, AppleEventDescriptor as variant = nil) as Boolean
- shared method launchAppWithBundleIdentifier(bundleIdentifier as string, options as integer = &h00030000, AppleEventDescriptor as variant = nil) as Boolean
- shared method typeOfFile(File as folderitem, byref error as NSErrorMBS) as string
- shared method typeOfFile(Path as string, byref error as NSErrorMBS) as string
- shared method absolutePathForAppBundleWithIdentifier(bundleIdentifier as string) as string
- shared method URLForApplicationToOpenURL(url as string) as string
- shared method URLForApplicationWithBundleIdentifier(bundleIdentifier as string) as string
- shared method setDesktopImageURL(file as folderitem, screen as NSScreenMBS, options as dictionary, byref error as NSErrorMBS) as boolean
- shared method desktopImageURLForScreen(screen as NSScreenMBS) as folderitem
- shared method desktopImageOptionsForScreen(screen as NSScreenMBS) as dictionary
- shared method fileLabels as string()
- shared method fileLabelColors as NSColorMBS()
- shared method menuBarOwningApplication as NSRunningApplicationMBS
- shared method frontmostApplication as NSRunningApplicationMBS
- shared method unmountAndEjectDevice(item as folderitem, byref e as NSErrorMBS) as boolean
- shared method mountedLocalVolumePaths as string()
- shared method mountedRemovableMedia as string()
- shared method isFilePackageAtPath(item as folderitem) as boolean
- shared method activateFileViewerSelectingURLs(URLs() as string)
- shared method activateFileViewerSelectingFiles(Files() as folderitem)
- shared method launchApplicationAtURL(URL as string, options as UInt32, configuration as dictionary, byref error as NSErrorMBS) as NSRunningApplicationMBS
- shared method launchApplicationAtFile(file as folderitem, options as UInt32, configuration as dictionary, byref error as NSErrorMBS) as NSRunningApplicationMBS
- shared method launchApplicationAtURL(URL as string, options as UInt32 = 0, configuration as dictionary = nil) as NSRunningApplicationMBS
- shared method launchApplicationAtFile(file as folderitem, options as UInt32 = 0, configuration as dictionary = nil) as NSRunningApplicationMBS
- shared method notificationCenter as NSNotificationCenterMBS
- shared method preferredFilenameExtensionForType(typeName as string) as string
- shared method localizedDescriptionForType(typeName as string) as string
- shared method noteFileSystemChanged
- shared method noteFileSystemChanged(path as folderitem)
- shared method showSearchResultsForQueryString(queryString as string) as boolean
- shared method fullPathForApplication(appname as string) as folderitem
- shared method hideOtherApplications
- shared method selectFile(file as folderitem) as boolean
- shared method launchApplication(appname as string) as boolean
- shared method launchApplication(appname as string, showicon as boolean, autolaunch as boolean) as boolean
- shared method openFile(file as folderitem) as boolean
- shared method openFile(file as folderitem, appname as string) as boolean
- shared method openFile(file as folderitem, appname as string, Deactivate as boolean) as boolean
- shared method openURL(url as string) as boolean
- shared method findApplications
- shared method iconForFiles(files() as folderitem) as NSImageMBS
- shared method iconForFile(file as folderitem) as NSImageMBS
- shared method iconForFileType(filetype as string) as NSImageMBS
- shared method setIcon(image as NSImageMBS, file as folderitem, flags as integer = 0) as boolean
- shared method setIcon(image as NSImageMBS, path as String, flags as integer = 0) as boolean
- shared method performFileOperation(operation as string, source as folderitem, destination as folderitem, files() as string, byref tag as integer) as boolean
- shared method NSWorkspaceDesktopImageScalingKey as string
- shared method NSWorkspaceDesktopImageAllowClippingKey as string
- shared method NSWorkspaceDesktopImageFillColorKey as string
- shared method NSWorkspaceApplicationKey as string
- shared method NSWorkspaceWillLaunchApplicationNotification as string
- shared method NSWorkspaceDidLaunchApplicationNotification as string
- shared method NSWorkspaceDidTerminateApplicationNotification as string
- shared method NSWorkspaceDidHideApplicationNotification as string
- shared method NSWorkspaceDidUnhideApplicationNotification as string
- shared method NSWorkspaceDidActivateApplicationNotification as string
- shared method NSWorkspaceDidDeactivateApplicationNotification as string
- shared method NSWorkspaceVolumeLocalizedNameKey as string
- shared method NSWorkspaceVolumeURLKey as string
- shared method NSWorkspaceVolumeOldLocalizedNameKey as string
- shared method NSWorkspaceVolumeOldURLKey as string
- shared method NSWorkspaceDidMountNotification as string
- shared method NSWorkspaceDidUnmountNotification as string
- shared method NSWorkspaceWillUnmountNotification as string
- shared method NSWorkspaceDidRenameVolumeNotification as string
- shared method NSWorkspaceWillPowerOffNotification as string
- shared method NSWorkspaceWillSleepNotification as string
- shared method NSWorkspaceDidWakeNotification as string
- shared method NSWorkspaceScreensDidSleepNotification as string
- shared method NSWorkspaceScreensDidWakeNotification as string
- shared method NSWorkspaceSessionDidBecomeActiveNotification as string
- shared method NSWorkspaceSessionDidResignActiveNotification as string
- shared method NSWorkspaceDidPerformFileOperationNotification as string
- shared method NSWorkspaceDidChangeFileLabelsNotification as string
- shared method NSWorkspaceActiveSpaceDidChangeNotification as string
- shared method NSWorkspaceLaunchConfigurationAppleEvent as string
- shared method NSWorkspaceLaunchConfigurationArguments as string
- shared method NSWorkspaceLaunchConfigurationEnvironment as string
- shared method NSWorkspaceLaunchConfigurationArchitecture as string
- shared method NSWorkspaceMoveOperation as string
- shared method NSWorkspaceCopyOperation as string
- shared method NSWorkspaceLinkOperation as string
- shared method NSWorkspaceCompressOperation as string
- shared method NSWorkspaceDecompressOperation as string
- shared method NSWorkspaceEncryptOperation as string
- shared method NSWorkspaceDecryptOperation as string
- shared method NSWorkspaceDestroyOperation as string
- shared method NSWorkspaceRecycleOperation as string
- shared method NSWorkspaceDuplicateOperation as string
- shared property accessibilityDisplayShouldIncreaseContrast as Boolean
- shared property accessibilityDisplayShouldDifferentiateWithoutColor as Boolean
- shared property accessibilityDisplayShouldReduceTransparency as Boolean
- shared property accessibilityDisplayShouldReduceMotion as Boolean
- shared property accessibilityDisplayShouldInvertColors as Boolean
- shared property isVoiceOverEnabled as Boolean
- shared property isSwitchControlEnabled as Boolean
- event requestAuthorizationCompleted(type as Integer, authorization as NSWorkspaceAuthorizationMBS, error as NSErrorMBS, tag as variant)
Blog Entries
Xojo Developer Magazine