The FXScript Reference

For Final Cut Pro created by Joe Maller

FXScript Codeless Language Module

FXScript Codeless Language Module

The zip file contains a codeless language module for BBEdit 8. The module should contain all FXScript commands and keywords for correct syntax coloring in BBEdit. The module also scans FXScript subroutines and lists them in BBEdit's function popup menu. Installation instructions are in BBEdit's documentation.

The module is set up to automatically recognize files ending with the ".fxscript" extension.

If anything is missing, please leave a note here and I'll update the file.

Additional Notes

Updated

I added some missing math keywords and updated the function syntax scanner keys.

To work around limitations in BBEdit and wierdness in the FXScript subroutine syntax, the module now uses "end" to start the function body and continues until it hits a space character. This generally works and allows selection of the beginning of subroutines throughout a script. Spaces are common enough that bodies will rarely overlap, but just in case, I've been including a space character after "end" in all my new scripts.

Updated again

Added keywords: for, getTimeCodeStringFromClip, next, repeat and while

Also modified the handling of block comments, which may or may not actually do anything.