I’m not sure if my particular perspective is useful for you, but as someone who has written scripts for Adobe Creative Cloud software in both AppleScript and JavaScript, I can share a little bit of my experience with that.
First of all, it’s a terrible thing that Adobe let their ExtendScript Toolkit software languish in 32 bit software hell (Adobe uses an older version of JavaScript and calls it ExtendScript). It will not run on 64 bit machines AT ALL. You now need to use a plug-in for Microsoft Visual Studio to debug JavasScript for Adobe CC. It does work. I used it once, just to see if I could get some of my old JavaScripts to run, but it’s not as clear or simple (though some of that could just be my unfamiliarity with Visual Studio) as ExtendScript Toolkit was. The only reason I was even using JavaScript was because my employer at the time was doing all of their print production work on PCs and I didn’t have the opportunity to use AppleScript. It was hell, but I made it work (and actually, when I went back to AppleScript at another job later, I had developed some new techniques for AppleScript from that experience).
There is no better tool out there for automation on the Mac than Script Debugger and AppleScript.
The ability to look into the various properties and settings of all of the various objects unleashes the capacity for nearly total control over the documents when scripting. It’s like having the skeleton key to every single tool in the Adobe graphic library.
Also, the seamlessness of addressing multiple apps from tell statements is LIGHT YEARS easier than the weird data structures that you have to build between apps to get any interactivity from JavaScript. They were ridiculously complicated and difficult to implement.
JavaScript has some additional functionalities for things like text manipulation, being a more traditional programming tool than AppleScript, but for all of AppleScript’s limitations, I have yet to find anything that allows me to do my development as quickly or as simply as AppleScript, from simple basic scripts to complex suites of software than run and process things over networks and through multiple user’s machines.
If Apple kills AppleScript, I will be miserable and desperate. The only other language that I really find amenable to my software development style is Python. I’ve stayed kind of current on that, just in case I eventually have to make the switch.
As a graphic production designer and programmer, who has worked on automation software for The Pokémon Company International, Wizards of the Coast, Ravensburger North America (I’m the only person that has written graphic production software for all 3 top tier trading card games: Pokémon, Magic: The Gathering, and Disney’s new one, Lorcana) and many others, I don’t see anything else out there that would give me the power and control, and most of all, the informal fluidity, of AppleScript. It could have been a tool to bring programming to people like me that learned on the machines of the 70s and the 80s and get bogged down by the environments and IDEs of a lot of other hopelessly abstract “modern” programming languages.
I’m not ever going to write a device driver. I don’t need clean, perfectly compiled code. What I need is a tool to direct my software to intelligently process my graphic production documents WAY faster than a human. Productivity is not always higher just because a program runs faster. There are trade-offs, and I’ve learned how much I can accomplish with software that is slower than optimized software, but still thousands of times faster than human beings.
Programmers really need to learn this lesson, I believe. There is a place for a lot of different approaches, and this endlessly convoluted labyrinth of impenetrable programming languages isn’t the only way. Simple, generally applicable tools have an important place and it’s being completely neglected by the industry for the most part. If Apple kills AppleScript, I hope someone eventually resurrects its spirit as an open-source tool.