jxa-types
Preparing search index...
appkit
NSPasteboard
Interface NSPasteboard
interface
NSPasteboard
{
changeCount
:
number
;
clearContents
:
number
;
js
:
object
;
name
:
NSString
;
pasteboardItems
:
NSArray
<
NSPasteboardItem
>
;
releaseGlobally
:
null
;
dataForType
(
type
:
any
)
:
NSData
;
getProperty
(
key
:
string
)
:
any
;
indexOfPasteboardItem
(
item
:
NSPasteboardItem
)
:
number
;
isNil
()
:
boolean
;
setDataForType
(
data
:
NSData
,
forType
:
any
)
:
boolean
;
setProperty
(
key
:
string
,
value
:
any
)
:
any
;
setStringForType
(
string
:
any
,
forType
:
any
)
:
boolean
;
stringForType
(
type
:
any
)
:
NSString
;
}
Hierarchy (
View Summary
)
BridgedObject
<
IdType
>
NSPasteboard
Index
Properties
change
Count
clear
Contents
js
name
pasteboard
Items
release
Globally
Methods
data
For
Type
get
Property
index
Of
Pasteboard
Item
is
Nil
set
Data
For
Type
set
Property
set
String
For
Type
string
For
Type
Properties
Readonly
change
Count
changeCount
:
number
clear
Contents
clearContents
:
number
js
js
:
object
Readonly
name
name
:
NSString
pasteboard
Items
pasteboardItems
:
NSArray
<
NSPasteboardItem
>
release
Globally
releaseGlobally
:
null
Methods
data
For
Type
dataForType
(
type
:
any
)
:
NSData
Parameters
type
:
any
Returns
NSData
get
Property
getProperty
(
key
:
string
)
:
any
Parameters
key
:
string
Returns
any
index
Of
Pasteboard
Item
indexOfPasteboardItem
(
item
:
NSPasteboardItem
)
:
number
Parameters
item
:
NSPasteboardItem
Returns
number
is
Nil
isNil
()
:
boolean
Returns
boolean
set
Data
For
Type
setDataForType
(
data
:
NSData
,
forType
:
any
)
:
boolean
Parameters
data
:
NSData
forType
:
any
Returns
boolean
set
Property
setProperty
(
key
:
string
,
value
:
any
)
:
any
Parameters
key
:
string
value
:
any
Returns
any
set
String
For
Type
setStringForType
(
string
:
any
,
forType
:
any
)
:
boolean
Parameters
string
:
any
forType
:
any
Returns
boolean
string
For
Type
stringForType
(
type
:
any
)
:
NSString
Parameters
type
:
any
Returns
NSString
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
change
Count
clear
Contents
js
name
pasteboard
Items
release
Globally
Methods
data
For
Type
get
Property
index
Of
Pasteboard
Item
is
Nil
set
Data
For
Type
set
Property
set
String
For
Type
string
For
Type
jxa-types
Loading...