There are several example scripts included with Aegisub to give you a head start on writing your own ones.Ī word of warning: Unless you are an experienced programmer the kara-templater. For example, to include the re modules, re require aegisub.re. Using modules Simply write modulename require aegisub.modulename at the top level of a script. Some of these, such as a implement subtitle-specific functionality, while others such as re fill holes in the Lua standard library. MoonScript is natively supported (and in fact parts of the Aegisub libraries are written in it). A number of Lua modules are included with Aegisub. Automation for programmers #Īutomation uses LuaJIT 2.0 compiled in Lua 5.2 mode. In addition, they can be browsed directly within Aegisub at File Open Autosaved File Aegisub automatically cleans up old files in the autosave directory, so the automatic backups should not be used for long-term storage of files. Some appear as macros in the Automation menu and others appear as filters in the Export dialog. You can see what scripts are loaded, and load/unload more from the Automation/Manager window.Īll Automation scripts also present themselves in Aegisub in one way or another. This includes the advanced Karaoke_Templater script and a collection of macros to simplify some editing tasks.Īegisub almost always has several Automation scripts loaded at a time. Export filters to generate complex effects from simpler inputĪegisub comes with several Automation scripts already packaged and ready to use.It allows you to enter color values using various color spaces, in both HTML and ASS hex, pick colors from a mini-screenshot and use three different color spectrums for graphically picking colors. Macros to automate complex subtitle editing tasks Aegisub introduces a more advanced color picker than the default Windows one.This was originally used mainly for creating karaoke effects, but over time it has expanded in scope to support more general purpose macros which add arbitrary new functionaly to Aegisub. The single purpose of Automation is - as the name implies - to automate various aspects of subtitle creation and editing. The name Automation covers the entire scripting functionality of Aegisub.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |