Typo in JavaScript For Automation – `JXA` ✅ `JAX` ❌

Describe the bug
The BTT docs for Using Real Java Script in BTT refer to JAX instead of JXA.

A more tricky issue to fix is that the BTT function runJAX also has the typo. Fixing this typo by updating the function to runJXA will break existing scripts that use runJAX. What are your thoughts on how to fix this typo?


Device information:

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

Thanks for reporting, should be fixed in 4.903 (it just aliases the old function with the typo to not break existing setups)

1 Like

Thanks, @Andreas_Hegenberg !

I confirm that runJXA works on BTT version 4.903 :tada:

However, the docs still refer to JAX instead of JXA.

Maybe the docs are cached, try cmd+opt+r, I think I replaced all occurences of JAX with JXA

I cleared my browser cache in Chrome and I still see the old docs. I also tried viewing https://docs.folivora.ai/docs/1106_java_script.html in Firefox and Safari, both show the docs with JAX. I don't know if I'm doing something wrong or there's a different issue.

ahh my simple docs syncing script failed in this case :smiley: (it just compares the size and JXA or JAX will have the same byte size). Will upload manually.

1 Like