4/17/2024 0 Comments Aegisub karaoke effect tutorialSynopsis: 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. ( 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(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) These functions are used to display dialogs for the user to interact with.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |