πŸ› "Show Custom Context Menu (NEW)" not updating using "External file (Create New)" setting

Describe the bug
When defining a JS script using "External file (Create New)", the Custom Context Menu doesn't reflect updates made to the external script.

Steps to reproduce

  1. Create a "Show Custom Context Menu (NEW)".

  2. Toggle on "Retrieve Contents Dynamically Via JavaScript / JSON"

  3. Select "External File (Create New).


  4. Modify the JS script such that the Custom Context Menu shows different output. e.g. uppercase all titles:

  5. :bug: Triggering the Custom Context Menu doesn't show the updated JSON:

  6. Change the "External file (Create New)" setting to "Inline".

  7. Triggering the Custom Context Menu now correctly shows the updated JSON:

  8. :bug: If you delete the "Custom Context Menu (NEW)" Action, create a new one, and then select "External File (Choose Existing)", the Custom Context Menu still doesn't reflect the update JSON:


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Keyboard Shortcut


Device information:

  • Device: MacBook Pro (14-inch, 2021)
  • macOS: 15.2 (24C5073e)
  • BTT Version: 4.881 (2024111705)
  • Alpha: 0 update(s) behind latest Alpha version 4.881 (2024111705).
  • Regular: Installed version is ahead of latest Regular version 4.839.

Additional information (e.g. crash logs, related issues, etc.):

I have not yet implemented the simple format support for external files so it will just fallback to the default code.

I'll work on this later!

1 Like

Support for external scripts is now added to floating menus, custom context menus and the choose from list action in 4.882 (uploading)

1 Like

Thanks @Andreas_Hegenberg !

Based on my testing of custom context menus:

  • "External File (Create New)" works :white_check_mark:
  • "External File (Choose Existing)" does not work :x:

Do you see the same behavior?

Device information:

  • Device: MacBook Pro (14-inch, 2021)
  • macOS: 15.2 (24C5073e)
  • BTT Version: 4.882 (2024111801)
  • Alpha: 0 update(s) behind latest Alpha version 4.882 (2024111801).
  • Regular: Installed version is ahead of latest Regular version 4.839.

you are right! Fixed in 4.883 (uploading)

Confirmed that "External File (Create New)" and "External File (Choose Existing)" both work for Custom Context Menus on 4.883!

Thank you Andreas!

1 Like