# \#javascript

**URL:** https://community.folivora.ai/tag/javascript/438.md

[Latest](https://community.folivora.ai/latest.md) · [Categories](https://community.folivora.ai/categories.md) · [Tags](https://community.folivora.ai/tags.md)

---

## [Using external javascript module whth BTT's scripting API](https://community.folivora.ai/t/using-external-javascript-module-whth-btts-scripting-api/47592)

<div class="topic-metadata">

**Author:** [@Julien](https://community.folivora.ai/u/Julien)\
**Replies:** 9\
**Last updated:** [August 20, 2026, 12:29pm UTC](https://community.folivora.ai/t/using-external-javascript-module-whth-btts-scripting-api/47592 "2026-08-20T12:29:58Z")

</div>

Just spent the last 2 hours trying to figure out how to run javascript that can use external JS modules while having access to BTT's API. I can achieve one or the other using a different execution approach but can't see…

---

## [returnToBTT() 's resulting variable name in BTT macro should be documented more clearly](https://community.folivora.ai/t/returntobtt-s-resulting-variable-name-in-btt-macro-should-be-documented-more-clearly/44844)

<div class="topic-metadata">

**Author:** [@sm1ng](https://community.folivora.ai/u/sm1ng)\
**Replies:** 1\
**Last updated:** [August 26, 2025, 8:21am UTC](https://community.folivora.ai/t/returntobtt-s-resulting-variable-name-in-btt-macro-should-be-documented-more-clearly/44844 "2025-08-26T08:21:03Z")

</div>

Hi there, I'm a reasonably experienced BTT user and yet I have to dig for well over half an hour before I found a page that mentioned that the results of the execute JavaScript action is accessible in BTT scripts as {res…
