Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPasteboardMBS class.

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
One of the common pasteboard data types.

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
One of the names for pasteboards.
Example
Var p as new NSPasteboardMBS(NSPasteboardMBS.NSDragPboard)
MsgBox p.name

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.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
One of the common pasteboard data types.

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
One of the names for pasteboards.
Example
Var p as new NSPasteboardMBS(NSPasteboardMBS.NSFindPboard)
MsgBox p.name

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
One of the names for pasteboards.
Example
Var p as new NSPasteboardMBS(NSPasteboardMBS.NSFontPboard)
MsgBox p.name

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
One of the common pasteboard data types.

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
One of the names for pasteboards.
Example
Var p as new NSPasteboardMBS(NSPasteboardMBS.NSGeneralPboard)
MsgBox p.name

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

Multiple text selection.
On Mac OS X v10.6 and later, use NSPasteboardTypeMultipleTextSelection instead.
Available in Mac OS X v10.5 and later.

NSPasteboardMBS.NSPasteboardDetectionPatternCalendarEvent as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a calendar event.

Returns array of DDMatchCalendarEvent values

NSPasteboardMBS.NSPasteboardDetectionPatternEmailAddress as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains an email address.

Returns array of DDMatchEmailAddress values

NSPasteboardMBS.NSPasteboardDetectionPatternFlightNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a flight number.

Returns array of DDMatchFlightNumber values

NSPasteboardMBS.NSPasteboardDetectionPatternLink as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a URL.

Returns array of DDMatchLink values

NSPasteboardMBS.NSPasteboardDetectionPatternMoneyAmount as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains an amount of money.

Returns array of DDMatchMoneyAmount values

NSPasteboardMBS.NSPasteboardDetectionPatternNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that consists of a numeric value.

Returns number value

NSPasteboardMBS.NSPasteboardDetectionPatternPhoneNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a phone number.

Returns array of DDMatchPhoneNumber values

NSPasteboardMBS.NSPasteboardDetectionPatternPostalAddress as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a postal address.

Returns array of DDMatchPostalAddress values

NSPasteboardMBS.NSPasteboardDetectionPatternProbableWebSearch as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string suitable for use as a web search term.

Returns string value, suitable for implementing "Paste and Search".

NSPasteboardMBS.NSPasteboardDetectionPatternProbableWebURL as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that consists of a web URL.

Returns string value, suitable for implementing "Paste and Go".

NSPasteboardMBS.NSPasteboardDetectionPatternShipmentTrackingNumber as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A pattern that indicates the pasteboard detects a string that contains a parcel tracking number and carrier.

Returns array of DDMatchShipmentTrackingNumber values

NSPasteboardMBS.NSPasteboardMetadataTypeContentType as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Clipboard MBS MacBase Plugin 25.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
A metadata type that returns the content type if the pasteboard detects a reference to a file.

UTType value for the detected content type of the file URL, if a file URL type is present.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

Sound data (an NSSound object).
Available in Mac OS X v10.6 and later.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the constants for defining UTIs for common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the names for pasteboards.
Example
Var p as new NSPasteboardMBS(NSPasteboardMBS.NSRulerPboard)
MsgBox p.name

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
One of the common pasteboard data types.

Paragraph formatting information.
On Mac OS X v10.6 and later, use NSPasteboardTypeRuler instead.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

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
One of the common pasteboard data types.

VCard data.
On Mac OS X v10.6 and later, use kUTTypeVCard instead.

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


The biggest plugin in space...