I’d like to setup a build where the user is presented with a list of possible values, instead of just an edit box. Say I have a number of configuration files in a folder and I want the user to be able to pick one to use, then I don’t want to edit the FB project when I change the number of config files, a simple “pick the one you like from this list” would be nice. There’s a file browser option, true, but the file thing is just an example, the list of options could well be in a file that I’ve parsed in a previous action.
Cheers,
/axl
When I need to create a GUI front-end to a script I have written, I use AutoIt. If you’re not familiar with it, it is a very powerful windows scripting language with Visual Basic style syntax and it’s 100% freeware.
Andreas,
Have you had a look at the “Choose One” action? You can show a list of values, and the user needs to pick one.
hth.
.t8
I actually just solved exactly this problem. What I did was use a file iterator to build a variable containing a carriage return-separated list of values. Ie, a variable “configs” has a value like this: “config1.iniconfig2.ini”.Then, I used a “prompt for variables (enhanced)” action with a type of “Sorted List”. In the Values field, put the variable, like %Configs%.Works pretty well.Steve
Tate, what’s this “Choose One” action of which you speak? I can’t see any actions with a name or behaviour like that in the interactive list.Steve
Ooops
It's a new action that should be making it's way into FB soon...
(so for now, best option is to use Prompt for Variables Enhanced as Steve suggested)