ClickToCopy
Wolfram Kernel
Execution environment
ClickToCopy[expr_ | str_String, opts___]
ClickToCopy[label_, expr_ | str_String, opts___]
represents sort of a button with label (or expr in StandardForm) as a label. It pushes InputForm of expr or directly str to user's clipboard when pressed.
Options
In a case of a lost context provide
"Window"
Specify explicitly a window to which the data will be pushed. By the default is CurrentWindow