Differences between revisions 2 and 3
Revision 2 as of 2005-08-19 11:37:17
Size: 605
Editor: anonymous
Comment:
Revision 3 as of 2005-08-19 11:45:49
Size: 1105
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
FreeJ comes with an example script to explain some basic scripting. The example script can be found in the document directory. Its location is ''doc/freejscripting-example.js''. FreeJ comes with an example script to explain some basic scripting. The example script can be found in the document directory. Its location is ''doc/freejscripting-example.js''. More information on this script can be found in the comments in the script and the file ''doc/freej-scripting.txt''.

== Starting your script ==

While running FreeJ you can execute a script by pressing ''ctrl-x''. FreeJ will ask for the location of the script file. By pressing enter it will start executing the script in the current running FreeJ session. You can also start FreeJ with a script. You then have to add the ''-s'' option to the commandline:
{{{
freej -s freej_scripting.js
}}}

SCRIPTING VIDEO WITH FREEJ

With [http://freej.org FreeJ] it is also possible to generate video with the use of scripts. This is done by invoking commands on layers and effects in these scripts. Scripts can be written using javascript. Javascript is object oriented which makes it possible to handle layers and effects as objects. Every object has its own procedural commands to adapt it.

The example script

FreeJ comes with an example script to explain some basic scripting. The example script can be found in the document directory. Its location is doc/freejscripting-example.js. More information on this script can be found in the comments in the script and the file doc/freej-scripting.txt.

Starting your script

While running FreeJ you can execute a script by pressing ctrl-x. FreeJ will ask for the location of the script file. By pressing enter it will start executing the script in the current running FreeJ session. You can also start FreeJ with a script. You then have to add the -s option to the commandline:

freej -s freej_scripting.js

FreejScripting (last edited 2008-06-26 10:01:23 by anonymous)