Skip to content

Open Select Dialog

Function Description

TIP

Open Select Dialog

Configuration Item Description

General

Command Input

  • Dialog Titlestring: Dialog Title

  • Selection Box TypeInteger: Selection Box Type

  • Selection ModeInteger: Selection Mode

  • Option Liststring: Option list, each line represents an option

  • Select First Option by DefaultBoolean: Select the first option by default

Command Output

  • Save User Selection Result ToTRPADictionary: Specify a variable name to save the user selection result, return None if the user cancels the dialog, otherwise return a dict object

Advanced

  • Dialog Explanationstring: Dialog Explanation

  • Timeout (milliseconds)Integer: The duration for which the notification is displayed, default is 30000 milliseconds

Error Handling

  • Print Error LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • Terminate Process: If the command fails, terminate the process.

    • Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.

    • Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.

Usage Example

Process logic description:

Common Errors and Handling

None

Frequently Asked Questions

None