Skip navigation
Home/Support/

Forums

458 Views 17 Replies Latest reply: Dec 17, 2009 9:55 AM by michielvoo RSS
michielvoo Calculating status... 16 posts since
Jun 19, 2009
Currently Being Moderated

Dec 7, 2009 4:17 PM

What's the future of Creative Suite scripting?

Dear Adobe,

 

looking at some of the presentations from MAX 2009 there is no clear future outlined for scripting in Creative Suite 5+

 

There are now a multitude of ways to automate CS applications where PatchPanel and SwitchBoard have been the latest developments. I think that with the integration of AIR into Creative Suite applications it will become the main platform for creating and delivering plugins with a user interface (panels, wizards etc).

 

I have read about something called CSCXInterface, and heard mention of something called Seaside (CSIDE?) but it's hard to find information about this. Are these parts of the AIR integration? Are they included in Flash builder or can they be used stand-alone as well?

 

And, last but not least, what's the future of ExtendScript, the language as well as the program? Can we expect improvements in the debugger, language support, DOM browser etc?

 

Thanks!

  • Harbs. Contributor 4,204 posts since
    Apr 19, 2004
    Currently Being Moderated
    1. Dec 8, 2009 7:22 AM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    I don't think you will find any information on CS5 until it exists!

     

    That said, PatchPanel and SwitchBoard do appear to be promising 

    technologies, but I wouldn't build too much on experimental 

    technology. A lot can change between the "Labs" stage, and a true 

    product being developed.

     

    All in all, I don't think ExtendScript is going anywhere soon, and 

    it's probably a safe bet to assume that there will be improvements.

     

    Harbs

    http://www.in-tools.com

    Innovations in Automation

  • Robert-Tkaczyk User 462 posts since
    Apr 5, 2009
    Currently Being Moderated
    2. Dec 8, 2009 8:01 AM (in response to Harbs.)
    Re: What's the future of Creative Suite scripting?

    I don't think you will find any information on CS5 until it exists!

    Is there any way to get RC or Demo version ? or be a beta tester ?

     

    All in all, I don't think ExtendScript is going anywhere soon, and

    it's probably a safe bet to assume that there will be improvements.

    It would be very silly move if Adobe will cut out whole scripting support

     

    robin

    www.adobescripts.co.uk

  • Olav Martin Kvern User 154 posts since
    Nov 24, 2008
    Currently Being Moderated
    4. Dec 14, 2009 8:25 PM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    Robin wrote: "It would be very silly move if Adobe will cut out whole scripting support "

     

    I'd say it's pretty unlikely.:-)

     

    Sorry to have been such a stranger around here (heck, it wasn't that long ago that every post was by me)--but it's because I've been working on the very topic of this thread. I don't have much that I can say, except we're working on some very cool things. For now, this has taken me a bit away from InDesign scripting.

     

    Thanks,

     

    Ole

  • Harbs. Contributor 4,204 posts since
    Apr 19, 2004
    Currently Being Moderated
    6. Dec 15, 2009 6:10 AM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    I don't think Ole can tell you very much.

     

    If I were you, I'd take out of this that regular scripting is here to stay, so you are safe concentrating on that.

     

    I'd also take out, that it seems there will be new ways to create automation, but exactly what and how is still not clear, so you invest on focusing on other things at your own risk...

     

    Harbs

  • Steven.. User 302 posts since
    Dec 31, 2008
    Currently Being Moderated
    7. Dec 15, 2009 6:50 AM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    If you watch the presentation mentioned above, the message is clear. Scripting is not going any time soon. However adobe really wants a Flash/Flex solution for scripting. In Adobe Labs they tried Patch Panel and it was a bust. To quote mnr 'Patch Panel will never leave Labs'.

     

    I'm not privy to pre-release info (so I can speculate), but from the presentation it seems that Adobe is working on ActionScript as an additional scripting language, that ties in to the C++ code just like JS, VBS or AS. In patchPanel it was a wrapper to js and very slow, in the future it will boast the same speed advantages as scripting + the ability to create UI in Flex

     

    Just a guess

  • Olav Martin Kvern User 154 posts since
    Nov 24, 2008
    Currently Being Moderated
    8. Dec 15, 2009 11:24 AM (in response to Steven..)
    Re: What's the future of Creative Suite scripting?

    michielvoo wrote: "Is it better to focus on ActionScript than on ExtendScript? If you don't respond I'll take that as a yes. If you respond with a vague statement (anything) I'll take that as a no"

     

    You can't draw either conclusion from my response or lack of it. Or, you can, but it won't give you a valid basis on which to plan your future.

     

    I think it's safe to say that a.) the InDesign scripting model will not change (or won't change much), regardless of the language (after all, we already have the same DOM for three totally different languages), and b.) an investment in JavaScript--whether in the ExtendScript or ActionScript flavor--can't be bad, as you can convert from one to the other with very minor changes. Indeed, you could move code from ExtendScript into a PatchPanel project by simple copy/paste.

     

    That's the big deal, in my opinion--learning the DOM takes far longer than learning a new language.

     

    Thanks,

     

    Ole

  • Olav Martin Kvern User 154 posts since
    Nov 24, 2008
    Currently Being Moderated
    10. Dec 15, 2009 3:07 PM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    michielvoo wrote: "ActionScript can't be converted to ExtendScript in most cases though. What version of JavaScript is ExtendScript in CS5? Will it have some of the newer JavaScript features that we are starting to see in browsers as well?"

     

    I don't understand. The main difference going from ActionScript to ExtendScript is one of adding (from ES to AS) or removing (from AS to ES) type declarations (for variables and for the return types for functions). The larger differences have to do with which libraries and/or DOMs you're working with--most of the new features for JavaScript in browsers are extensions to the browser's DOM.

     

    As to the rest--I can't really comment on CS5. ExtendScript does a pretty good job keeping up with the ECMAScript specification, so that might be a good place to look for hints to future development. Note that the 5th edition of ECMAScript has just been approved this month (which is probably a bit late for this release cycle).

     

    Thanks,

     

    Ole

  • Harbs. Contributor 4,204 posts since
    Apr 19, 2004
    Currently Being Moderated
    12. Dec 16, 2009 4:30 AM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    E4X is completely supported in CS4 and partially supported in CS3.

     

    There are no class type keywords in ExtendScript (as there are no true "classes"), but that doesn't mean you can't use inheritance if you want. You would just use Prototype (which is actually something you CAN'T do in ActionScript).

     

    There is no "import" in ExtendScript, but you can use the #include operative (the same way you would in C based languages) to include a library of functions.

     

    The fact of the matter is that you are correct that the programming style in pure Javascript (and by extension ExtendScript) is different than strongly typed languages, but once you get used to it, you'll find that it gives you a lot of freedom you can't get in strongly typed languages. (I'm moving the opposite direction and find ActionScript very stifling...)However, even though the preferred style is different, porting code from ExtendScript is pretty easy, and you'll have a much easier time porting from ExtendScript to ActionScript than the other way around, but it is possible in both directions.

     

    As far as support goes: It supports the full ECMAScript specification (as it's applicable to desktop programs). The OMV in the ESTK has the full DOM including the core Javascript functionality.

     

    Harbs

    http://www.in-tools.com

    Innovations in Automation

  • Harbs. Contributor 4,204 posts since
    Apr 19, 2004
    Currently Being Moderated
    14. Dec 16, 2009 11:11 AM (in response to michielvoo)
    Re: What's the future of Creative Suite scripting?

    ESTK = ExtendScript Toolkit

    OMV = Obect Model Viewer (accessible from the help menu of the ESTK)

     

    For full information on exactly what ExtendScript implements, you can 

    read the pdf files available under the help menu of the ESTK...

     

    Harbs

    http://www.in-tools.com

    Innovations in Automation

  • Olav Martin Kvern User 154 posts since
    Nov 24, 2008
    Currently Being Moderated
    15. Dec 16, 2009 7:34 PM (in response to Harbs.)
    Re: What's the future of Creative Suite scripting?

    michielvoo wrote: "I just wanted to point out to Ole that there is no easy conversion from ActionScript to ExtendScript."

     

    We may just have a differing definition of "easy."

     

    I meant that for the great bulk of the language features, the conversion is relatively easy. That is the basics of the language are very similar--(pseudocode) if...else...else if...end if, for...next, try...catch, and other logic structures are written the same way, properties of objects are specified the same way, method parameters are entered the same way, etc. It's not like the difference between, say, Java and PostScript.

     

    I can take the body of a script (i.e., the inside of a class) written for InDesign using PatchPanel, paste it into ExtendScript, remove the type specifications, and I'm good to go. In fact, I've done this.

     

    I guess it's a matter of perspective--I see the languages as about 80% similar. Do you see the 20% difference as an insurmountable obstacle, or do you see it as a fairly trivial matter? Does ActionScript's lack of eval() or ExtendScript's lack of classes make it impossible to work with one or the other, or is it pretty easy to work around the differences? I'm definitely an optimist: the glass is half full, etc. Your mileage may vary.:-)

     

    Thanks,

     

    Ole

  • Robert-Tkaczyk User 462 posts since
    Apr 5, 2009

    Sorry for off-topic Ole, but could you please check your PMs or e-mail at adobe.com ? thanks

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points