# Changes in AppleScripts are not applied

**URL:** <https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924>\
**Category:** Bugs or Unexpected Behavior\
**Created:** [October 26, 2024, 3:42pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924 "2024-10-26T15:42:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dirk](https://community.folivora.ai/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@Dirk](https://community.folivora.ai/u/Dirk)\
**Post date:** [October 26, 2024, 3:42pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/1 "2024-10-26T15:42:38Z")

</div>

**Describe the bug:**  
Changes in AppleScripts are saved, but the previous version is still executed. A restart does not help.

The only option is to delete the entry and create a new one.

**Device information:**

- Type of Mac: MacBook Pro M2 Max
- macOS version: 15.0.1
- BetterTouchTool version: 4.811

* * *

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [October 26, 2024, 4:35pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/2 "2024-10-26T16:35:53Z")

</div>

where are you configuring the apple scripts? And are you using them inline or as an external file?

And it’s really apple script, not JS?

---

<div class="post-metadata">

**Author:** ![Dirk](https://community.folivora.ai/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@Dirk](https://community.folivora.ai/u/Dirk)\
**Post date:** [October 26, 2024, 4:44pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/3 "2024-10-26T16:44:16Z")

</div>

Inline:

 ![image](https://community.folivora.ai/uploads/default/original/3X/2/9/299080ac6f8ac8d39e54eb46af3ef06227038e50.png)

The error was reported once before in 2022, but did not occur for me until now. But now it is permanent.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [October 26, 2024, 4:48pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/4 "2024-10-26T16:48:54Z")

</div>

thanks , I think i have an idea what can cause it! Will upload a fix later.

If you create a new one, does updating that one work or does it only work one time?

---

<div class="post-metadata">

**Author:** ![Dirk](https://community.folivora.ai/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@Dirk](https://community.folivora.ai/u/Dirk)\
**Post date:** [October 26, 2024, 4:56pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/5 "2024-10-26T16:56:15Z")

</div>

It only works once. After that, you have to create another action to make a change.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [October 26, 2024, 5:02pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/6 "2024-10-26T17:02:58Z")

</div>

thanks for the details! A quick workaround might be to set it to „preset file“ instead of inline

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [October 26, 2024, 8:06pm UTC](https://community.folivora.ai/t/changes-in-applescripts-are-not-applied/39924/7 "2024-10-26T20:06:30Z")

</div>

hope this is resolved in 4.812, will be available in ~10 min
