facebookarchive / Keyframes

A library for converting Adobe AE shape based animations to a data format and playing it back on Android and iOS devices.
https://facebookincubator.github.io/Keyframes/
Other
5.33k stars 302 forks source link

Does the AfterEffects script work with CS6? #89

Closed yozef closed 7 years ago

yozef commented 7 years ago

I've been trying to run the script with CS6 with no luck, I wonder if it is not supported by CS6, otherwise if it does work if CS6 I'll continue searching for a solution.

subtleGradient commented 7 years ago

I haven't tried using it on CS6. I don't have any way to test it on CS6 right now.

Go ahead and install ExtendScript Toolkit and try running it from there. Change the one line $.level = 0 to $.level = 1 to get better error messages.

Try again with the new changes coming soon, it'll have better error handling.

yozef commented 7 years ago

thanks @subtleGradient. Here is that I've tried: 1- Copy/Pasted the files from /Keyframes/tree/master/scripts into: /Applications/Adobe After Effects CS6/Scripts/Keyframes: 2017-01-11 at 11 38 15 am

2- Copy pasted the code inside /master/scripts/Keyframes_Exporter.jsx into ExtendScript Toolkit. Saved the file in /Applications/Adobe After Effects CS6/Scripts/Keyframes.jsx

3- I run the code from ES Toolkit: 2017-01-11 at 11 38 17 am

4- In JS Console of ES Toolkit, I get: Result: undefined

5- I opened Adobe After Effects CS6, draw a square then do a simple transform, then this stays displayed.

2017-01-11 at 11 48 31 am

Is there anywhere else where the console displays more details?

yozef commented 7 years ago

Update: Did the steps above, however, I saved a copy of the .aep file on my desktop.

At Step 4 above, I see this:

2017-01-11 at 11 54 09 am

In the newly created .log file on my desktop, it's empty.

subtleGradient commented 7 years ago

Try the latest version here: https://github.com/facebookincubator/Keyframes/releases/tag/previewer-v1 It fixes a bunch of little bugs and has better error handling. It also includes a Previewer for Android.

yozef commented 7 years ago

Worked!

Just needed to update the files in /Applications/Adobe After Effects CS6/Scripts/ from your latest version (previewer-v1).

Thanks 👍

subtleGradient commented 7 years ago

Sweet!

subtleGradient commented 7 years ago

Changes landed in master now