# Include scripts

**URL:** <https://resource.dopus.com/t/include-scripts/47921>\
**Category:** Help & Support\
**Created:** [January 12, 2024, 12:43am UTC](https://resource.dopus.com/t/include-scripts/47921 "2024-01-12T00:43:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PassThePeas](https://resource.dopus.com/user_avatar/resource.dopus.com/passthepeas/32/50972_2.png) [@PassThePeas](https://resource.dopus.com/u/PassThePeas)\
**Post date:** [January 12, 2024, 12:43am UTC](https://resource.dopus.com/t/include-scripts/47921/1 "2024-01-12T00:43:44Z")

</div>

Hi,

Is there any technical limitations behind include script :

- that prevents them from being used from a button script (it seems only available and working from a "global" script, edited/created from the Script manager)
- that prevents the include scripts to have a configuration

On the first point, I find it a bit disappointing, as having this include file could legitimate coding smaller scripts directly in buttons (since they are using one or more include files with helper functions, or that could be seen as "script libraries").

On the second point, the idea I had in mind was to use this to provide some sort of tools to other scripts/button scripts which could have a general configuration.  
That is not critical, since configuration could be set up on a per use basis (using snippets for instance, to avoid forgetting important parameters to set up), but it would have been easier.

Many thanks.

---

<div class="post-metadata">

**Author:** ![PassThePeas](https://resource.dopus.com/user_avatar/resource.dopus.com/passthepeas/32/50972_2.png) [@PassThePeas](https://resource.dopus.com/u/PassThePeas)\
**Post date:** [April 7, 2024, 9:08pm UTC](https://resource.dopus.com/t/include-scripts/47921/2 "2024-04-07T21:08:37Z")

</div>

Changed in 13.4.4, it's now available from any script type. Many thanks.

From [Directory Opus 13.4.4 (Beta)](https://resource.dopus.com/t/directory-opus-13-4-4-beta/50086) :

> [@Directory Opus 13.4.4 (Beta)](https://resource.dopus.com/t/directory-opus-13-4-4-beta/50086/1):
>
> - Script functions (in buttons etc) can now use `@include` to include script include files
