Skip to main content
added 16 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

You can use CopyToClipboard:

Button["display text", CopyToClipboard["file name"], Appearance -> None]Frameless]

CopyToClipboard >> Scope

"Copying a string copies the contents of the string."

Column[MapThread[ButtonColumn @ #MapThread[Button[#, CopyToClipboard @ ##2, Appearance -> None]&Frameless] &, 
    {{"display text 1", "display text 2"}, {"file name", "Alex E"}}]

enter image description here

enter image description here

You can use CopyToClipboard:

Button["display text", CopyToClipboard["file name"], Appearance -> None]

CopyToClipboard >> Scope

"Copying a string copies the contents of the string."

Column[MapThread[Button @ #,CopyToClipboard @ #,Appearance -> None]&, 
  {{"display text 1", "display text 2"}, {"file name", "Alex E"}}]

enter image description here

enter image description here

You can use CopyToClipboard:

Button["display text", CopyToClipboard["file name"], Appearance -> Frameless]

CopyToClipboard >> Scope

"Copying a string copies the contents of the string."

Column @ MapThread[Button[#, CopyToClipboard @ #2, Appearance -> Frameless] &, 
    {{"display text 1", "display text 2"}, {"file name", "Alex E"}}]

enter image description here

enter image description here

Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

You can use CopyToClipboard:

Button["display text", CopyToClipboard["file name"], Appearance -> None]

CopyToClipboard >> Scope

"Copying a string copies the contents of the string."

Column[MapThread[Button @ #,CopyToClipboard @ #,Appearance -> None]&, 
  {{"display text 1", "display text 2"}, {"file name", "Alex E"}}]

enter image description here

enter image description here