How to Use Sliders in Floating Menus? Documentation Missing

Hello,

I have been experimenting with Floating Menus in BetterTouchTool and noticed that sliders can be added as menu items. However, I couldn't find any official documentation or examples explaining how sliders in Floating Menus are supposed to work.

I tried using the Init Script and Value Changed Script (both in AppleScript, Real JavaScript, and JXA), but I keep running into issues:

  • The slider always resets to 0 after moving it.
  • The Value Changed Script sometimes doesn’t return any value or is not executed.
  • I am not sure what the correct JSON format is for returning values to the slider.

Could you please clarify:

  1. Are sliders in Floating Menus currently supported and fully functional?
  2. Is there an example of a working configuration for Init Script and Value Changed Script?
  3. What is the expected JSON format or return method for updating the slider’s value and label?

Thank you very much!

See this if it can help you:

1 Like