# Floating menu script not always updating and getting stuck. Restarting BTT fixes.

**URL:** <https://community.folivora.ai/t/floating-menu-script-not-always-updating-and-getting-stuck-restarting-btt-fixes/37684>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** applescript, floating-menu\
**Created:** [June 14, 2024, 11:57am UTC](https://community.folivora.ai/t/floating-menu-script-not-always-updating-and-getting-stuck-restarting-btt-fixes/37684 "2024-06-14T11:57:54Z")\
**Posts on this page:** 1\
**Showing post:** 36

<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:** [November 8, 2024, 8:24am UTC](https://community.folivora.ai/t/floating-menu-script-not-always-updating-and-getting-stuck-restarting-btt-fixes/37684/36 "2024-11-08T08:24:30Z")

</div>

could you try with a simple script to see whether the script is the problem?

E.g. the one I posted that just returns the time

```auto
on itemScript(itemUUID)
   set currentTime to do shell script "date '+%H:%M:%S'"
   return currentTime
end itemScript

```

---

_[View the full topic](https://community.folivora.ai/t/floating-menu-script-not-always-updating-and-getting-stuck-restarting-btt-fixes/37684)._
