# How to use the clipboard function in thunkable?

**URL:** <https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750>\
**Category:** Questions about Thunkable X\
**Tags:** clipboard\
**Created:** [July 27, 2021, 2:02am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750 "2021-07-27T02:02:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [July 27, 2021, 2:02am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/1 "2021-07-27T02:02:28Z")

</div>

How to use the clipboard function in thunkable?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [July 27, 2021, 6:53am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/2 "2021-07-27T06:53:10Z")

</div>

Try this:

> [@How can I add a Copy Button?](https://community.thunkable.com/t/how-can-i-add-a-copy-button/1040333/10):
>
> I’m wondering if a JavaScript solution would work with the webviewer. \<html\> \<head\> \<meta name="viewport" content="width=device-width, initial-scale=1"\> \<script src="https://thunkable.github.io/webviewer-extension/thunkableWebviewerExtension.js" type="text/javascript"\>\</script\> \</head\> \<body\> \<script type="text/javascript"\> function copyToClipboard(value) { var tempInput = document.createElement("textarea"); tempInput.value = value; document.body.appendChild(tempInput);…

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [August 4, 2021, 8:21am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/3 "2021-08-04T08:21:37Z")

</div>

Is there a way to get the clipboard text?  
 ![圖片](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/c/fc06cae987385645407304dfe66a2d92524cabb0.gif)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [August 4, 2021, 9:44am UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/5 "2021-08-04T09:44:04Z")

</div>

Not that i know.

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [August 4, 2021, 12:37pm UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/6 "2021-08-04T12:37:19Z")

</div>

What’s the meaning?

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [August 4, 2021, 12:38pm UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/7 "2021-08-04T12:38:34Z")

</div>

Can webapi be used?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [August 4, 2021, 1:24pm UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/8 "2021-08-04T13:24:37Z")

</div>

> [@tony.ycy.program](#):
>
> What’s the meaning?

Of What?

> [@tony.ycy.program](#):
>
> Can webapi be used?

Maybe i’m not sure if it’ll work or exists.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:17pm UTC](https://community.thunkable.com/t/how-to-use-the-clipboard-function-in-thunkable/1415750/9 "2024-11-08T13:17:48Z")

</div>


