Automation 3

From Aegisub Wiki

Jump to: navigation, search

Automation 3 is the first version of Automation that appeared in Aegisub. It only supports one kind of script, export filters (also usable as a kind of impractical macros) and is on some points rather limited and badly designed.

As of current Aegisub 2.00 pre-release versions, Automation 3 has been deprecated in favor of Automation 4. Note that Automation 3 scripts should still work with little or no changes.

Automation 3 is based on version 5.02 of the Lua scripting language and can not support other languages.

Remember to take a look at the Automation Tutorials.

[edit] Features of Automation 3

  • Built on the Lua language, which is both easy to learn and still offers very advanced facilities
  • Freely perform any ASS-to-ASS transformations
  • Can produce any number of output lines from any number of input lines
  • Scripts can define a GUI, so they can be parametrised without editing text files
  • Scripts integrate in the Aegisub Export GUI and can be chained with other export filters

[edit] Known problems and limitations of Automation 3

  • No proper way of making macros, no simple/uniform way of marking a subset of the lines for processing. (Automation 4 can do this.)
  • Insufficient error-checking when reading in data from the Lua environment, which can lead to hard-to-debug crashes.
  • For some reason, changing the configuration dialog of a script and reloading it doesn't actually update the dialog in the program. (This might be fixed in the Automation 4 implementation.)
  • The text_extents function is unexplainably inaccurate. It's consistent with itself, but not with VSFilter rendering. Some fonts seem to show this behaviour to a greater extent than other fonts. (This might be fixed in current SVN versions.)

[edit] Earlier versions

Automation 2 never existed, except as a concept. It was originally intended to be the scripting engine used in Aegisub but it never took off the ground. It was based on the Python language. Automation 4 aims to be everything Automation 2 was intended to be, and more.

Automation 1 is the post-humous name given to Karaoke Effecttor (download link, no support given), which was also based on Lua.

Personal tools