Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPasteboardMBS class.

Previous items

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
dim 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.

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
Returns the pasteboard with the specified name.
Example
dim p as NSPasteboardMBS = NSPasteboardMBS.pasteboardWithName(NSPasteboardMBS.NSFindPboard)

// shows last find string
MsgBox p.stringForType(p.NSPasteboardTypeString)

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
Creates and returns a new pasteboard with a name that is guaranteed to be unique with respect to other pasteboards on the computer.

This method is useful for applications that implement their own interprocess communication using pasteboards.

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...