Skip to main content
Inspiring
March 3, 2017
Answered

Scripting in Adobe Animate CC

  • March 3, 2017
  • 3 replies
  • 2341 views

Is there any available scripting inteface in adobe Animate.

Can I via a hostscript.jsx file get animate, to create/open and save dokuments/files in different formats?

It does not seem to work the same way as it does in the other CC programs. What works in Illustator/InDesign och Photoshop does not work in

Animate.

/ regards

Pontus Hulin

This topic has been closed for replies.
Correct answer Colin Holgate

Animate has JSFL, which I imagine is similar to JSX. What sort of operation would you imagine doing? If you take any image into Photoshop you can obviously save it out in many formats, and it will look more or less the same. Adobe Animate can create entire interactive experiences in at least three different code libraries, and those libraries are not identical. It would usually take significant rewriting to make a different format version of the interactive application.

3 replies

Inspiring
March 7, 2017

Hello

When I try to extract the metadata from the document i get the following error ( I translated it from swedish):

JS-API:t getMetadata has been removed

var metadata = an.getDocumentDOM().getMetadata();

Braniac
March 7, 2017

I just tested your code in Canvas, AS3, and WebGL documents, and it worked fine. Well, it returned a blank string because I hadn't set any metadata. But it did work.

Why are you trying to use getMetadata?

Inspiring
April 18, 2017

Sorry about the late reply.

I would like to store and be able to access our systems id number for the document in the metadata of the project.

Regards

/ Pontus

Colin Holgate
Colin HolgateCorrect answer
Inspiring
March 3, 2017

Animate has JSFL, which I imagine is similar to JSX. What sort of operation would you imagine doing? If you take any image into Photoshop you can obviously save it out in many formats, and it will look more or less the same. Adobe Animate can create entire interactive experiences in at least three different code libraries, and those libraries are not identical. It would usually take significant rewriting to make a different format version of the interactive application.

Inspiring
March 6, 2017

Where can I find documentation for jsfl and animate?

Braniac
March 6, 2017
Steve Werner
Braniac
March 3, 2017

Moving to the Animate forum