Platforms to show: All Mac Windows Linux Cross-Platform
Clipboard
Low level access to the clipboard on Mac OS.
- Classes
- class ClipboardMBS
- method AddData(FlavorType as string,data as string)
- method AddText(Text as string)
- method AddUnicodeText(Text as string)
- method clear
- method close
- method DataAvailable(FlavorType as string) as boolean
- method DataSize(FlavorType as string) as Integer
- method GetData(FlavorType as string) as string
- method GetText as string
- method GetUnicodeText as string
- method PictAvailable as boolean
- method ScrapFlavorCount as Integer
- method ScrapFlavorFlags(index as Integer) as Integer
- method ScrapFlavorType(index as Integer) as string
- method TextAvailable as boolean
- method TextSize as Integer
- method UnicodeTextAvailable as boolean
- method UnicodeTextSize as Integer
- property Handle as Integer
- class NSPasteboardItemDataProviderMBS
- method Constructor
- method Destructor
- property Handle as Integer
- event Finished(Pasteboard as NSPasteboardMBS)
- event provideDataForType(Pasteboard as NSPasteboardMBS, item as NSPasteboardItemMBS, type as string)
- class NSPasteboardItemMBS
- method availableTypeFromArray(types() as string) as string
- method Constructor
- method Destructor
- method detectMetadata(types() as String, theDelegate as NSPasteboardMBS.detectValuesCompletedMBS, tag as variant = nil)
- method detectPatterns(patterns() as String, theDelegate as NSPasteboardMBS.detectPatternsCompletedMBS, tag as variant = nil)
- method detectValues(patterns() as String, theDelegate as NSPasteboardMBS.detectValuesCompletedMBS, tag as variant = nil)
- method setDataProviderForType(dataProvider as NSPasteboardItemDataProviderMBS, types() as string) as boolean
- method types as string()
- property dataProvider as NSPasteboardItemDataProviderMBS
- property Handle as Integer
- property dataForType(type as string) as memoryblock
- property propertyListForType(type as string) as Variant
- property stringForType(type as string) as string
- class NSPasteboardMBS
- method accessBehavior as Integer
- method addType(type as string) as Integer
- method addTypes(types() as string) as Integer
- method changeCount as Integer
- method clearContents as Integer
- method Constructor
- method Constructor(name as string)
- method declareType(type as string) as Integer
- method declareTypes(types() as string) as Integer
- method detectMetadata(types() as String, theDelegate as detectValuesCompletedMBS, tag as variant = nil)
- method detectPatterns(patterns() as String, theDelegate as detectPatternsCompletedMBS, tag as variant = nil)
- method detectValues(patterns() as String, theDelegate as detectValuesCompletedMBS, tag as variant = nil)
- shared method generalPasteboard as NSPasteboardMBS
- method name as string
- shared method NSColorPboardType as string
- shared method NSDragPboard as string
- shared method NSFilenamesPboardType as string
- shared method NSFilesPromisePboardType as string
- shared method NSFindPboard as string
- shared method NSFontPboard as string
- shared method NSFontPboardType as string
- shared method NSGeneralPboard as string
- shared method NSHTMLPboardType as string
- shared method NSInkTextPboardType as string
- shared method NSMultipleTextSelectionPboardType as string
- shared method NSPasteboardDetectionPatternCalendarEvent as string
- shared method NSPasteboardDetectionPatternEmailAddress as string
- shared method NSPasteboardDetectionPatternFlightNumber as string
- shared method NSPasteboardDetectionPatternLink as string
- shared method NSPasteboardDetectionPatternMoneyAmount as string
- shared method NSPasteboardDetectionPatternNumber as string
- shared method NSPasteboardDetectionPatternPhoneNumber as string
- shared method NSPasteboardDetectionPatternPostalAddress as string
- shared method NSPasteboardDetectionPatternProbableWebSearch as string
- shared method NSPasteboardDetectionPatternProbableWebURL as string
- shared method NSPasteboardDetectionPatternShipmentTrackingNumber as string
- shared method NSPasteboardMetadataTypeContentType as string
- shared method NSPasteboardTypeColor as string
- shared method NSPasteboardTypeFindPanelSearchOptions as string
- shared method NSPasteboardTypeFont as string
- shared method NSPasteboardTypeHTML as string
- shared method NSPasteboardTypeMultipleTextSelection as string
- shared method NSPasteboardTypePDF as string
- shared method NSPasteboardTypePNG as string
- shared method NSPasteboardTypeRTF as string
- shared method NSPasteboardTypeRTFD as string
- shared method NSPasteboardTypeRuler as string
- shared method NSPasteboardTypeSound as string
- shared method NSPasteboardTypeString as string
- shared method NSPasteboardTypeTabularText as string
- shared method NSPasteboardTypeTIFF as string
- shared method NSPDFPboardType as string
- shared method NSPICTPboardType as string
- shared method NSPostScriptPboardType as string
- shared method NSRTFDPboardType as string
- shared method NSRTFPboardType as string
- shared method NSRulerPboard as string
- shared method NSRulerPboardType as string
- shared method NSStringPboardType as string
- shared method NSTabularTextPboardType as string
- shared method NSTIFFPboardType as string
- shared method NSURLPboardType as string
- shared method NSVCardPboardType as string
- method pasteboardItems as NSPasteboardItemMBS()
- shared method pasteboardWithName(name as string) as NSPasteboardMBS
- shared method pasteboardWithUniqueName as NSPasteboardMBS
- method releaseGlobally
- method SetPasteboardItems(items() as NSPasteboardItemMBS) as Boolean
- method SetPasteboardItems(items() as Variant) as boolean
- method types as string()
- method URLFromPasteboard as string
- method writeURLToPasteboard(URL as string)
- property Handle as Integer
- property dataForType(type as string) as Memoryblock
- property propertyListForType(type as string) as Variant
- property stringForType(type as string) as string
- delegate detectPatternsCompletedMBS(pasteboard as NSPasteboardMBS, requestedPatterns() as String, detectedPatterns() as String, Error as NSErrorMBS, tag as Variant)
- delegate detectValuesCompletedMBS(pasteboard as NSPasteboardMBS, requestedPatterns() as String, patterns as Dictionary, Error as NSErrorMBS, tag as Variant)
- class ClipboardMBS
- Examples
- /MacClassic/Clipboard Test
- /MacCocoa/Custom NSViewControl Drag
- /MacControls/Custom NSView Drag
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/NSOutlineView/Disk Browser
- /MacCocoa/ClipboardSaver
- /MacCocoa/Service in Cocoa/TestService
- /MacControls/Custom NSView Drop
- /Win/Clipboard/ClipboardSaver
- Blog Entries
- News from the MBS Xojo Plugins Version 25.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.3
- MBS Xojo Plugins, version 25.3pr1
- MBS Xojo Plugins, version 21.4pr2
- Windows, Xojo and the Clipboard
- MBS Xojo Plugins, version 17.1pr3
- New MBS REALbasic Plugin Version 10.4
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr12
- Teaser: Clipboard classes
Release notes
- Version 25.3
- Added new methods to NSPasteboardMBS and NSPasteboardItemMBS classes to handle access behavior.
- Version 21.4
- Added SetPasteboardItems method taking array of variants to NSPasteboardMBS class.
- Version 17.1
- Added NSPasteboardMBS.SetPasteboardItems.
The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacClassic Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS Win Plugin.