# Can't use clipboard() out REPL

**URL:** <https://discourse.julialang.org/t/cant-use-clipboard-out-repl/50055>\
**Category:** New to Julia\
**Tags:** interactiveutils\
**Created:** [November 12, 2020, 3:24pm UTC](https://discourse.julialang.org/t/cant-use-clipboard-out-repl/50055 "2020-11-12T15:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sijo](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sijo](https://discourse.julialang.org/u/sijo)\
**Post date:** [November 12, 2020, 3:48pm UTC](https://discourse.julialang.org/t/cant-use-clipboard-out-repl/50055/2 "2020-11-12T15:48:12Z")

</div>

Hi, welcome to the Julia Discourse forum! If you do `@which clipboard`, it shows that `clipboard` is defined in the `InteractiveUtils` module. It appears that this module is automatically loaded by the REPL but not when executing a script. So just adding `using InteractiveUtils: clipboard` at the start of your script should fix it.

I can’t find anything about this in the documentation, maybe worth investigating and fixing with a PR…

---

_[View the full topic](https://discourse.julialang.org/t/cant-use-clipboard-out-repl/50055)._
