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. MoonScript is natively supported (and in fact parts of the Aegisub libraries are written in it). Automation for programmers #Īutomation uses LuaJIT 2.0 compiled in Lua 5.2 mode. 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.Macros to automate complex subtitle editing tasks.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. Ra i nm 2014, Aegisub c s dng rng rãi bi rt. Cách ti và cài t Aegisub trên PC mi nht và d thc hin. Ti AegiSub: Phn mm làm sub, video karaoke, to ph phim. The single purpose of Automation is - as the name implies - to automate various aspects of subtitle creation and editing. óng góp bi Trn Phng Uyên Xét duyt & biên tp: Nhóm ni dung Th Gii Di ng. See Template execution and order for details.The name Automation covers the entire scripting functionality of Aegisub. Note that the execution order of looped line templates and looped syl/furi templates is different. The number of loops must be a constant integer number, it can not be a variable or otherwise calculated dynamically. Specifying the number of loops is required. Cch s dng tng t nh vi cc Effect v ch: DOWNLOAD: TI Y. Specify that the template will be applied the given number of times. Vi cc bn mun s dng hiu ng n gin cho c cu thay v phi sub tng ch th cc bn c th s dng b hiu ng sau y. we don’t want a sword dropping down on a lone timed space, that just looks dumb. Also the noblank modifier is used to avoid producing anything for “invisible” syllables, eg. The template uses the notext modifier to avoid getting the original syllable text shown, because it’s being replaced with a vector drawing here. The effect itself is these small swords dropping down onto the syllables, by a move. The drawing is of a small simple sword pointing downwards. The first code line defines a vector drawing shape for convenience, so it doesn’t clutter up the actual template lines later on. Example: What we have managed to do is\Nto raise funds for specific projects. Do no add spaces before or after it, as they count as characters. “code once” lines are primarily intended to declare functions for use in templates. Hello, Laura: In order to break the lines in Aegisub (and in most subtitle editors), you have to use '\N'. They are run in the order they are declared. This class modifier is only valid for code lines.Ĭode lines with the once modifier are run exactly once during Karaoke Templater execution, and are always run before any other code lines or templates. Having one is still recommended for clarity, however.Ī template line without a class modifier is implicitly given the syl modifier.Ī code line without a class modifier is implicitly given the once modifier. Class declaring modifiers #īoth template lines and code lines can be produced without having a class modifier. There is a special set of modifiers that declare the class of the template line or code line. While modifiers can be combined to some extent, not all are compatible, and not all work on both code lines and for templates. This is a space-separated list of words in the Effect field following the template or code keyword. Template lines and code lines can take a number of modifiers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |