- bool ConfirmationDialog(String title) JS compatibleShows a confirmation dialog with the specified title and returns true if the user confirms.Parameters
Name Description title The title of the dialog - string InputDialog(String title, String defaultText) JS compatibleShows an input dialog where the user can enter text.Parameters
Name Description title The title of the dialog defaultText The default text - string OpenFile(String title, String filter, String defaultExt) JS compatibleOpens a file dialog and returns the selected file path.Parameters
Name Description title The title of the dialog filter File extension filter defaultExt Default extension - string SelectFile(String filter, String defaultExt) JS compatibleSelects a file using a save file dialog and returns the selected file path.Parameters
Name Description filter File extension filter defaultExt Default extension - IEnumerable<string> SelectFilesFromDialog() JS compatibleSelects files from a dialog and returns the selected file paths.
- string SelectFolder(String title) JS compatibleSelects a folder using a folder selection dialog.Parameters
Name Description title The title of the dialog - int SelectIndexFromList(IEnumerable<String> contents, Int32 selectedIndex) JS compatibleSelects an item from a list of strings using a combo box dialog and return the index of the selected item.Parameters
Name Description contents The available contents selectedIndex The default selected index - string SelectItemFromList(IEnumerable<String> contents, Int32 selectedIndex) JS compatibleSelects an item from a list of strings using a combo box dialog.Parameters
Name Description contents The available contents selectedIndex The default selected index - void ShowMessage(String message) JS compatibleShows a message box with the specified message.Parameters
Name Description message The message to show
Scripting - Dialogs Print
Created by: Mikael Stalvik
Modified on: Mon, 27 Oct, 2025 at 7:14 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.