# set\_number\_variable and friends in Floating Webview seem broken

**URL:** <https://community.folivora.ai/t/set-number-variable-and-friends-in-floating-webview-seem-broken/35266>\
**Category:** Bugs or Unexpected Behavior\
**Tags:** floating-web-view\
**Created:** [January 13, 2024, 11:14pm UTC](https://community.folivora.ai/t/set-number-variable-and-friends-in-floating-webview-seem-broken/35266 "2024-01-13T23:14:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![little-big-h](https://community.folivora.ai/user_avatar/community.folivora.ai/little-big-h/32/606_2.png) [@little-big-h](https://community.folivora.ai/u/little-big-h)\
**Post date:** [January 13, 2024, 11:14pm UTC](https://community.folivora.ai/t/set-number-variable-and-friends-in-floating-webview-seem-broken/35266/1 "2024-01-13T23:14:28Z")

</div>

* * *

**Describe the bug**  
Setting variables (persistent or non-persistent, strings or numbers) seems broken. Even from the Safari-developer debugger, it just yields an "error setting" as a result for the resolved promise.

* * *

**Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):**  
floating webviews

* * *

**Screenshots**  
See:

 ![Screenshot 2024-01-13 at 23.10.31](https://community.folivora.ai/uploads/default/original/3X/3/4/344b62c12034544a456c538199a8011449bfb24e.png)

* * *

**Device information:**

- Type of Mac: Macbook Air M2
- macOS version: 14.2.1
- BetterTouchTool version: (please post the exact version - not just "the latest one"): 4.364

* * *

I am happy to use workarounds. I just need a way to set variables from a floating webview

---

<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:** [January 16, 2024, 8:19am UTC](https://community.folivora.ai/t/set-number-variable-and-friends-in-floating-webview-seem-broken/35266/2 "2024-01-16T08:19:14Z")

</div>

you are right, this is broken. I'll fix it asap.

For now you can workaround it using this syntax:  
set\_number\_variable("yo",9);

---

<div class="post-metadata">

**Author:** ![little-big-h](https://community.folivora.ai/user_avatar/community.folivora.ai/little-big-h/32/606_2.png) [@little-big-h](https://community.folivora.ai/u/little-big-h)\
**Post date:** [January 29, 2024, 10:52am UTC](https://community.folivora.ai/t/set-number-variable-and-friends-in-floating-webview-seem-broken/35266/3 "2024-01-29T10:52:09Z")

</div>

Cool, thanks -- I have actually figured that out myself by looking at the function signature in the debugger :-).
