# Right click copy power table cell value to clip board?

**URL:** <https://forum.inductiveautomation.com/t/right-click-copy-power-table-cell-value-to-clip-board/24426>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [April 26, 2019, 7:29pm UTC](https://forum.inductiveautomation.com/t/right-click-copy-power-table-cell-value-to-clip-board/24426 "2019-04-26T19:29:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JGJohnson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jgjohnson/32/29582_2.png) [@JGJohnson](https://forum.inductiveautomation.com/u/JGJohnson)\
**Post date:** [April 29, 2019, 12:48pm UTC](https://forum.inductiveautomation.com/t/right-click-copy-power-table-cell-value-to-clip-board/24426/2 "2019-04-29T12:48:16Z")

</div>

> [@How to script Copy Paste Clipboard right mouse click](http://forum.inductiveautomation.com/t/how-to-script-copy-paste-clipboard-right-mouse-click/10277/3):
>
> The script that we use for the actual copy to clipboard is: from java.awt import Toolkit from java.awt.datatransfer import StringSelection clipboard = Toolkit.getDefaultToolkit().getSystemClipboard() clipboard.setContents(StringSelection(text\_to\_copy), None) The script is inside a function that takes the text of the component (text\_to\_copy) as a parameter.

See this post for code that works for me.

---

_[View the full topic](https://forum.inductiveautomation.com/t/right-click-copy-power-table-cell-value-to-clip-board/24426)._
