Playback cursor if it gets too close to either of the edges. Audio Lock scroll on cursor When enabled, the audio waveform view will automatically scroll to follow the The memory impact from increasing these is trivial, but Recently Used Lists Maximum number of items to remember for all of the various lists of recently Undo levels The maximum number of changes that can be undone. ![]() Linked files (and report an error if the file(s) were not found). Linked files, and likewise if set to "always", Aegisub will always try to load If set to "never", Aegisub will never load This option decides what Aegisub does with these files that are Video, audio and timecodes files you had open while working on it, inside the Automatically load linked files Whenever you save a script, Aegisub also stores some information about what Toolbar icon size The size of icons to use in all of the toolbars in Aegisub. Show main toolbar If disabled, Aegisub's main toolbar is hidden. General Auto Check for Updates If enabled, Aegisub will periodically check whether there is a newer versionĪvailable, and alert you if there is. Program, you can just delete config.json and restart Aegisub. If you want to reset Aegisub to its default options without reinstalling the Which by default is stored in the ?user directory. This page is a reference of all the available options.Īegisub stores all its configuration in a plain text file called config.json These are available in the options dialog box, found in the View menu. Miscellaneous APIs for e.g.Aegisub is highly customizable and hence has a large amount of user-changeable Providing a configuration interface for export filters. Displaying dialogue boxes and getting user input requesting user input during macro execution by dialogue boxes and Hints and warnings to the user and printing debug information. Progress reporting and debug output providing feedback to the user while a script is running, outputting Subtitle file interface Deals with use of the subtitles object, the principal way of accessingĪnd modifying the subtitle data. Script and feature registration Deals with advertising what features a script provides and a few other The Automation 4 Lua core API #Īutomation 4 Lua provides various APIs that can be grouped in these generalĬategories. Of the functions provided by the includes. You will find that for anything but the simplest scripts you will need some While it is possible to writeĪutomation 4 Lua scripts without using the provided standard include files that don’tĭepend directly on Aegisub internal data structures, have been implemented Most things that can be implemented in clean Lua code, i.e. Piece of text will be when rendered with a given style. the video frame timestamps and how large a This is described on the Subtitle file interface page.Īutomation 4 Lua also provides a number of helper functions in the core APIįor getting information on e.g. The subtitles object allows you to accessĮvery line in the subtitle file, including headers, style definitions,ĭialogue lines and comment lines. Integer-indexed array, but it exposes some special interfaces to add, To some extent, the subtitles object works as an Object, the primary interface to the subtitle data the script will One of the parameters passed to the function is a subtitles Selecting a macro from the Automation menu) the registered script function ![]() When the user activates a feature from the Aegisub interface (such as by Lua_automation_version and the registration functions. The only fields of theĪegisub object that should be touched during script loading are ![]() Then call the feature registration functions. Import some modules, write some functions that do the script’s work and What you usually will do is define some of the script information globals, You can put variable initialisations and such at the top level, but When an Automation 4 Lua script is loaded, its top-level code is executed Templater script defines one macro and one export filter. Zero, one or many of each of those features. This information will be displayed in theĪutomation/Manager window: script_name, script_description,Īutomation 4 Lua implements both of the currently defined “features” ofĪutomation 4: Macro and Export Filter. There’s a number of global variables a script can set to provide The smallest legal Automation 4 Lua script is an empty file, but that won’t General overview of the organisation of Automation 4 Lua # Language itself and its standard libraries. Structures provided by the Aegisub Automation 4 Lua interface. Libraries shipping with Lua, but only the additional functions and data This manual will not deal with the Lua language itself nor the standard The Automation 4 Lua scripting engine is based on the version 5.1 series of
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |