Is it possible to set the value in a dropdown, listbox, radiobutton or checkbox with a FB variable? For example, let's say I have a variable the specifies whether or not to "Use MSBuild" with the Build VS.Net Solution Action. In this scenario I have been creating if statements and duplicating the action, one with it checked, one without. I was wondering if there was an way to script this in BeforeAction so only 1 action is required in the script. Is this possible?
I'm not looking for a way to prompt th user. What I want to do is have a variable like %UseMSBuild% set to either 1 or 0 which will result in the Use MSBuild checkbox in the "Build VS.Net Solution" action to be checked or unchecked at runtime depending on the variable. I know I can have an IF and Else Action and two Build Solution actions to accomplish this, but I was curious if there is a way to accomplish this with 1 build solution action and script in BeforeAction. I'm just using this as an example. I was wondering if there is a way to set drop downs, listboxes, checkboxes etc in Actions that don't permit variables to be entered in the configuration tabs of those actions. Hope that makes more sense.
I think I found what I’m looking for. In the case of the Build VS.Net Solution and Use MSBuild, I think I want to issue Action.UseMSBuild(UseMsbuildVar) in BeforeAction. Only that doesn’t seem to change what is already set in the dialog. Am I getting closer?