( string) Initial directory to show in the open dialog. ( string) Title of the dialog ( string) Default filename to preselect. The path to the selected file, or nil if the user canceled. Open a standard file save dialog to ask the user for a filename. Synopsis: file_name = (title, default_file, default_dir, wildcards, dont_prompt_for_overwrite=false) If not filename then aegisub.cancel() end Paths to all selected files if allow_multiple is true.įilename = ('Select file to read', '', '', Selected file if allow_multiple is false, or a table containing the file_name ( nil, string, or table) nil if the user cancelled. ( boolean) Only let the user select files that actually exist. If only one file is selected by the user. If this is true, a table ofįilenames will be returned rather than a single string, even xyz)|.xyz” ( boolean) Let the user select multiple files. If empty, a sane default will be used.Į.g. The path to the selected file(s), or nil if the user canceled. Open a standard file open dialog to ask the user for a filename. Synopsis: file_name = (title, default_file, default_dir, wildcards, allow_multiple=false, must_exist=true) result_table ( table) The Dialog Result table corresponding to Even ifĬustom buttons were specified, this can still be boolean false if the userĬloses the dialog without pressing any button. Were specified, this is the text on the button clicked by the user. Ok (true) or Cancel (false) were clicked in the dialog. button ( boolean or string) If no custom buttons were specified, this is a boolean telling whether Specify which button will be triggered if the user hits Enter or ESC. Which platform button IDs, making it possible to A table which specifies which buttons in the dialog correspond to Identifying them in the return values of the function. The strings in this table are used as labels on the buttons, and for If this is left out, empty or is otherwise not a table, the This is an array of strings defining the buttons that appear in ( table) A Dialog Definition table containing It then returns whether the user accepted or cancelled the dialog, and This function displays a configuration dialog to the user and waits for it toĬlose. Synopsis: button, result_table = (dialog, buttons, button_ids) Intersect with selection Does the inverse of subtract from selection.These functions are used to display dialogs for the user to interact with. Subtract from selection Deselects all currently selected lines that match the criteria. Add to selection Adds all lines in the script that matches the criteria to your current You can choose between: Set selection Your current selection will be discarded and all lines in the script matching Here you can choose if you want to select from comment lines, dialogue lines,ĭecides what the tool should do with the lines that matches the given criteria. Possible alternatives are: Text The body text of the line Style The line’s style name Actor The actor field Effect The effect field Match dialogues/comments # This option controls what field of each line will be used for the matching For a reference of the exact syntax supported by Aegisub, see the Regular Expression match Treats the string as a regular Contains Matches the lines that contains the given string. Exact match Matches the lines that matches the given string exactly. if the tool should care about the differenceīetween lower and upper case or not. Match case Controls case sensitivity, i.e. Doesn’t match Select all lines that don’t match the criteria. Match Select all lines that match the criteria. These controls what criteria will be used for selecting the lines. The tool can be found in the Subtitles menu -> Select lines. Things ranging from deleting all comment lines to finding all lines said by aĬertain actor. The select lines tool is useful for finding and selecting all lines in the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |