<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote">2015-02-28 19:09 GMT+01:00 Victor Olaya <span dir="ltr"><<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">you can add a combo box in a script, using "selection" as data type,<br>
followed by the possible values separated by semicolons<br>
<br>
For instance<br>
<br>
method=selection First method;Another method;The last method<br></blockquote></div></div></blockquote></div></div></div></blockquote><div><br></div><div><br></div><div><div class="gmail_default" style="font-size:small">​It would be great if the selection input type could be documented in </div><div class="gmail_default" style="font-size:small"><a href="http://docs.qgis.org/2.6/en/docs/user_manual/processing/console.html#creating-scripts-and-running-them-from-the-toolbox">http://docs.qgis.org/2.6/en/docs/user_manual/processing/console.html#creating-scripts-and-running-them-from-the-toolbox</a> </div><div class="gmail_default" style="font-size:small">for the 2.8 documentation​.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks and best wishes,</div><div class="gmail_default" style="font-size:small">Anita</div></div></div><br></div></div>