ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

app.parseSwatchFile()

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Scott McGee
app.parseSwatchFile()
on Feb 6, 2020 at 9:42:38 am

Anyone had any experience with this?

I work with several brands and I update my CEP html plugin manually but found this the other day and wonder if anyone has used it.

Trying to alert back a file and telling me that it's unable to Call the file


Return to posts index

Scott McGee
Re: app.parseSwatchFile()
on Feb 6, 2020 at 11:11:40 am

Got it to work.

var aseFile = File.openDialog();
var data = app.parseSwatchFile(aseFile);
alert(data.values);

It treats it similar to a JSON file, that was where I was going wrong.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]