Jump to content

Recommended Posts

4 hours ago, fde101 said:

I've never seen ANY evidence supporting this common theory.

Sal Sogohian (one of AppleScript's leading evangelists) had his position at Apple eliminated a few years ago, and as Apple has been generally withdrawing its support for AppleScript, I'd say the writing has been on the wall for a few years. JXA is a viable alternative, but Apple hasn't really been clear about what its future is. There doesn't seem to be much enthusiasm for OSA at Apple anymore. It's a real shame, because OSA was a brilliant accomplishment, and it made tying together various applications into a relatively easy, fun exercise.

Apple's apparent lack of enthusiasm for AppleScript these days has been leaving a number of developers uncertain, and that in turn is reducing their enthusiasm for providing scripting support as well. Nobody wants to invest in a lot of effort for a product which could just evaporate—and that, in turn, might well prompt Apple to say, "hey, people are supporting this less, let's go ahead and drop it."

Which is stupid, of course, but I can't pretend to comprehend the corporate politics at Apple. I never would have thought of gluing the RAM and the disk into hardware just to keep users from upgrading, for example, and alienating their customer base seems to be what Apple is into right now.

Now, personally, I think Lua is a fine language for this purpose—as you say, it's designed for this sort of thing. I'm not crazy about EJCaMvAaScript. I certainly wouldn't mind being able to drop 

import affinity

into a Python script, either. But I would like some solution at some point.

Of course, this isn't the most urgent wish I have about the Affinity suite—but it's up there, certainly.

Share this post


Link to post
Share on other sites

Wouldn't it be nice if the good folks at Serif would lift a tip of the veil so we know what to expect?

Can we, indesign users, still use applescript/javascript in the future with AP or had we better started learning Python or whatever other option?

Share this post


Link to post
Share on other sites
On 8/16/2019 at 11:40 AM, Raphael Santos said:

One more vote for python as the future scripting language for the affinity suite.

Sorry but I would vote you down. I'm much more fond of Javascript/Typescript than Python.

It will be much hard for Serif to choose one language that will please everyone so I wouldn't be bothered by whichever language they choose (even if they were to introduce one of their own). I think the choice in the end will be which one will be easier to incorporate into the apps.


architect · designer · developer · geek
Affinity Designer 1.7.2 / Affinity Publisher 1.7.2
Windows 10 Pro, version 1903, Build 18362.145

Share this post


Link to post
Share on other sites

Javascript seems the obvious choice but support for AppleScript (and the equivalent on Windows) seems a must since the print industry relies a lot on cross applications automations.

Until then, it will only suit the needs of creative graphic designers.

Share this post


Link to post
Share on other sites

JavaScript (more correctly called ECMAScript) is something I'm kind of learning out of necessity right now for a project I am working on which will run in a web browser.

It is unfortunate that yet another horrible language has become so entrenched in supposedly-modern applications that are designed to run in a web browser that it will be difficult if not impossible to get any kind of agreement on replacing it with something more legitimate.

One of the issues is that in spite of attempts over the years to "modernize" the language, it still has too strong a need to maintain compatibility with legacy code that was written in earlier, more primitive versions of the language that did things differently, so you wind up with some features using one approach to doing something, and others using a completely different approach to do almost exactly the same thing, but neither approach works in both places.  It is a language that has been haphazardly layered on top of itself by competing groups trying to pull it in different directions and the result is just a mess.

Couple that with the prevalent "C"-like syntax and it is not even remotely a fun language to work with, though admittedly there are a few interesting aspects to its design that are at least partially redeeming compared to other languages in the general "C-like" language family.  First-class functions and closures are a definite plus, and prototype-based inheritance makes it interesting from a theoretical standpoint anyway.

Never would I recommend further propagating it however.  We are kind of stuck with it for code that runs in a web browser, and I for one would prefer that it stay locked up in that cage until such time as we can replace it with something better there too.

 

For the record, I'm not the biggest fan of AppleScript as a language either, but it, like JavaScript, is the only real option in its domain right now for some use cases.

Share this post


Link to post
Share on other sites

Yup. After reading all comments, TypeScript and Javascript are the most obvious solutions. TypeScript for the ones who love static typing, and Javascript for the ones who want to type less. But also, Serif should consider choosing TypeScript as default, but allowing BINDINGS to other languages so everyone is happy.

Share this post


Link to post
Share on other sites

Any progress/updates on this issue? I'm really fed up with the arrogant bastards from Adobe. We really need an alternative to the scripting features of Indesign, as well as the Indesign Server solution...  My list with Adobe frustrations  is getting way to long... Life is to short for that crap ...

Share this post


Link to post
Share on other sites
42 minutes ago, tmmls said:

... We really need an alternative to the scripting features of Indesign ...

Serif will likely not definitively respond until the first beta with such a new feature. 

42 minutes ago, tmmls said:

... as well as the Indesign Server solution ...

Ya never know, but I don't think this will ever happen. If it does, it won't be for many years after there is scripting. 

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.