Export keyframe data to .txt file
Hello,
is it possible to get keyframe data using script? I am talking about the information which you get when select property in AE, press ctrl+c and ctrl+v it into txt file. Looks like this:
Adobe After Effects 8.0 Keyframe Data
Units Per Second 30
Source Width 100
Source Height 100
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1
Transform Position
Frame X pixels Y pixels Z pixels
343 960 540 0
376 430.101 98.6763 0
397 430.101 98.6763 0
416 493.813 221.439 0
...
But when i try this:
var logger = selLayers[0].property("ADBE Transform Group").property("ADBE Position");
myFile.open('w');
myFile.write(logger);
myFile.close();
I get a text file with "[object Property]" in it.
How can I get the data in the format like stated above please?
Thank you,
Martin
