applying presets by scripting functions

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
anime
Posts: 2
Joined: November 29th, 2005, 12:03 pm

hi :wink:
is there a way to apply presets (.ffx ones) to layers through scripting?
like, i save a glow stylize effect into a .ffx, and instead of having to reconfigure each property by scripting, in my case it would be easier to load them from the ffx i saved previously, is that possible? o_o
if so, whats the syntax command? i couldnt find anything related to it..
thanks in advance :D
w_m0zart
Posts: 20
Joined: June 6th, 2005, 1:52 pm
Location: Hengelo, Netherlands
Contact:

Not directly. The solution I did, was converting a .ffx file into a 'readable' text file (.tfx).

I wrote a script which can do that:
(Please see the second post in this thread)
http://www.aenhancers.com/viewtopic.php?t=293

Then I wrote a function which can parse a .tfx file and apply it to a layer.
See for details the same thread, first topic. To make it work for you, I guess you'll just have to remove some features from that script.

Let us know, whether my advice was of any help for you.

Happy scripting...
anime
Posts: 2
Joined: November 29th, 2005, 12:03 pm

oooo fast answer
im gonna try and thereafter post the results here
thanks!
w_m0zart
Posts: 20
Joined: June 6th, 2005, 1:52 pm
Location: Hengelo, Netherlands
Contact:

Fast? It's just that today is your lucky day. It happened to be that I read the forum once in a while.
Please do not forget to take a look at:
http://www.aenhancers.com/viewtopic.php?t=223

That's where you should be able to find lots of background info. Especially the ApplyTFX.jsx script should be interesting for you.

Good luck
Post Reply