Scripting Language

I’m just curious–when it comes to future Bike automation and extensions, what are the reasons/uses where one would want to choose AppleScript vs JavaScript?

Important If you are just coming to this post – right now Bike only has an AppleScript API. JavaScript API is expected in future, but does not exist yet.

Once JavaScript api is in place then the big differences will likely be:

  1. If you want the script to integrate multiple apps then you’ll need AppleScript.

  2. If you want to integrate with AppleScript ecosystem (for example FastScripts, Keyboard Maestro, etc) then AppleScript.

  3. Beyond those cases the JavaScript API will probably be what you want to use. Unlike AppleScript the JavaScript code runs within Bike, making it a lot faster and able to do more things.

Got it. Thanks!