FaceFX Support

FaceFX Documentation and support

FaceFX Commands - exec

The exec command is used to execute Python .py files or a batch file containing one or more FaceFX Studio commands. Batch files are simply text files with a list of FaceFX commands in them. The (*.FXL) extension is common for batch files and it stands for FaceFX Language file.

Command Syntax

Flag LongFlag Arg Description
-f -file Yes Specifies the path or filename of a python or  text file that contains a list of FaceFX commands that should be executed.
-s -silent No executes the command in “silent” mode so that no pop-up dialogs are shown.
-1 –arg1 Yes passes an argument to the sys.argv array (python only).
-2 –arg2 Yes passes an argument to the sys.argv array (python only).
-3 –arg3 Yes passes an argument to the sys.argv array (python only).
-4 –arg4 Yes passes an argument to the sys.argv array (python only).
-5 –arg5 Yes passes an argument to the sys.argv array (python only).
-6 –arg6 Yes passes an argument to the sys.argv array (python only).
-7 –arg7 Yes passes an argument to the sys.argv array (python only).
-8 –arg8 Yes passes an argument to the sys.argv array (python only).
-9 –arg9 Yes passes an argument to the sys.argv array (python only).

Path types

The -file flag can be followed by one of the following:

Arguments

See DOS Prompt Use for details about how arguments are parsed and implemented.

Examples

%exec -file "C:\my-batch-file.fxl";
%exec -f "C:\my-python-file.py";
%exec -f "my-python-file.py" -arg1 "Hello" -arg2 "World";

See Also

DOS Prompt Use