I need to be able to generate a list of Boolean parameters at runtime, based on the output of a script and I haven't been able to find a way to do this.

I looked into using addChoiceOptionsFromText, but it must be possible for the user to select multiple options, not just one, so I don't think this can work.

Please let me know if there is a way to achieve this, or if any workaround is possible.


asked 04 Apr, 05:43

dspencer12's gravatar image

accept rate: 0%

It's possible to add multiple options with <addChoiceOptionsFromText>.

option1=Option 1
option2=Option 2
option3=Option 3

The script would need to output the options in that format to be able to use the stdout of <runProgram>:


answered 05 Apr, 10:57

Michiel's gravatar image

Michiel ♦
accept rate: 22%

From my understanding, that would allow you to add multiple options to a choiceParameter, but the user would then only be able to select one of those options.

(05 Apr, 11:01) dspencer12
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 04 Apr, 05:43

Seen: 371 times

Last updated: 05 Apr, 11:01