Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSPasteboardMBS class.
NSPasteboardMBS.generalPasteboard as NSPasteboardMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSPasteboardMBS.NSColorPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSColor data.
On Mac OS X v10.6 and later, use NSPasteboardTypeColor (and you read and write colors directly to and from the pasteboard).
NSPasteboardMBS.NSDragPboard as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The pasteboard that stores data to be moved as the result of a drag operation.
For additional information on working with the drag pasteboard, see Drag and Drop Programming Topics for Cocoa.
Some examples using this method:
NSPasteboardMBS.NSFilenamesPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
An array of strings designating one or more filenames.
On Mac OS X v10.6 and later, use writeObjects to write file URLs to the pasteboard.
Some examples using this method:
- /MacControls/Custom NSView Drop
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /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/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
- /MacControls/Listbox and TableView Demos/NSOutlineView/Disk Browser
NSPasteboardMBS.NSFilesPromisePboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Promised files.
On Mac OS X v10.6 and later, use kPasteboardTypeFileURLPromise instead.
For information on promised files, see Dragging Files in Drag and Drop Programming Topics for Cocoa.
NSPasteboardMBS.NSFindPboard as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The pasteboard that holds information about the current state of the active application's find panel.
This information permits users to enter a search string into the find panel, then switch to another application to conduct another search.
NSPasteboardMBS.NSFontPboard as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The pasteboard that holds font and character information and supports Copy Font and Paste Font commands that may be implemented in a text editor.
NSPasteboardMBS.NSFontPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Font and character information.
On Mac OS X v10.6 and later, use NSPasteboardTypeFont instead.
NSPasteboardMBS.NSGeneralPboard as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The pasteboard that's used for ordinary cut, copy, and paste operations.
This pasteboard holds the contents of the last selection that's been cut or copied.
NSPasteboardMBS.NSHTMLPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
HTML (which an NSTextView object can read from, but not write to).
On Mac OS X v10.6 and later, use NSPasteboardTypeHTML instead.
NSPasteboardMBS.NSInkTextPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Ink text data.
On Mac OS X v10.6 and later, use kUTTypeInkText instead.
For information on ink text objects, see Using Ink Services in Your Application.
NSPasteboardMBS.NSMultipleTextSelectionPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Multiple text selection.
On Mac OS X v10.6 and later, use NSPasteboardTypeMultipleTextSelection instead.
Available in Mac OS X v10.5 and later.
NSPasteboardMBS.NSPasteboardTypeColor as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Color data (an NSColor object).
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeFindPanelSearchOptions as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Type for the Find panel metadata property list.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeFont as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Font and character information.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeHTML as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
HTML data.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeMultipleTextSelection as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Multiple text selection.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypePDF as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
PDF data.
Available in Mac OS X v10.6 and later.
Some examples using this method:
NSPasteboardMBS.NSPasteboardTypePNG as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
PNG image data.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeRTF as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Rich Text Format (RTF) data.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeRTFD as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
RTFD formatted file contents.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeRuler as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Paragraph formatting information.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeSound as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Sound data (an NSSound object).
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeString as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
String data.
Available in Mac OS X v10.6 and later.
Some examples using this method:
- /MacCocoa/Service in Cocoa/TestService
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /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/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
- /MacControls/Listbox and TableView Demos/NSOutlineView/Disk Browser
NSPasteboardMBS.NSPasteboardTypeTabularText as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
A string containing tab-separated fields of text.
Available in Mac OS X v10.6 and later.
NSPasteboardMBS.NSPasteboardTypeTIFF as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Tag Image File Format (TIFF) data.
Available in Mac OS X v10.6 and later.
Some examples using this method:
NSPasteboardMBS.NSPDFPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
PDF data.
On Mac OS X v10.6 and later, use NSPasteboardTypePDF instead.
NSPasteboardMBS.NSPICTPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
QuickDraw picture data.
The PICT format was formally deprecated in Mac OS X v10.4 along with QuickDraw. You should not be explicitly providing or looking for PICT data on the pasteboard.
To aid in this deprecation, if PICT is the only image type on the pasteboard, as is sometimes the case when copying images from 32-bit Carbon applications, a translated image type will be automatically reported and provided by NSPasteboard. The translated type is added to the types array ahead of PICT so that the deprecated PICT format is not the preferred format. In addition, when an application provides image data to NSPasteboard, the Carbon Pasteboard Manager will automatically make a PICT translation available to 32-bit Carbon applications.
Although NSPICTPboardType, and its UTI equivalent kUTTypePICT, will appear in a pasteboard's type array retrieved from the existing NSPasteboard API, it may cease to be reported in future releases.
NSPasteboardMBS.NSPostScriptPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Encapsulated PostScript (EPS) code.
On Mac OS X v10.6 and later, use @"com.adobe.encapsulated-postscript" instead.
NSPasteboardMBS.NSRTFDPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
RTFD formatted file contents.
On Mac OS X v10.6 and later, use NSPasteboardTypeRTFD instead.
NSPasteboardMBS.NSRTFPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Rich Text Format (RTF) data.
On Mac OS X v10.6 and later, use NSPasteboardTypeRTF instead.
NSPasteboardMBS.NSRulerPboard as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The pasteboard that holds information about paragraph formats in support of the Copy Ruler and Paste Ruler commands that may be implemented in a text editor.
NSPasteboardMBS.NSRulerPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Paragraph formatting information.
On Mac OS X v10.6 and later, use NSPasteboardTypeRuler instead.
NSPasteboardMBS.NSStringPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
String data.
On Mac OS X v10.6 and later, use NSPasteboardTypeString instead.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /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/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSPasteboardMBS.NSTabularTextPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
A string containing tab-separated fields of text.
On Mac OS X v10.6 and later, use NSPasteboardTypeTabularText instead.
NSPasteboardMBS.NSTIFFPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Tag Image File Format (TIFF) data.
On Mac OS X v10.6 and later, use NSPasteboardTypeTIFF instead.
NSPasteboardMBS.NSURLPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSURL data for one file or resource.
On Mac OS X v10.6 and later, use writeObjects: to write URLs directly to the pasteboard instead.
On Mac OS X v10.5 and earlier: to write an URL to a pasteboard you use writeToPasteboard: (NSURL); to get an URL from a pasteboard you use URLFromPasteboard: (NSURL).
Some examples using this method:
NSPasteboardMBS.NSVCardPboardType as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
VCard data.
On Mac OS X v10.6 and later, use kUTTypeVCard instead.
NSPasteboardMBS.pasteboardWithName(name as string) as NSPasteboardMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
NSPasteboardMBS.pasteboardWithUniqueName as NSPasteboardMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Clipboard | MBS MacBase Plugin | 10.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This method is useful for applications that implement their own interprocess communication using pasteboards.
The items on this page are in the following plugins: MBS MacBase Plugin.